mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
meta: Disable GL_TEXTURE_EXTERNAL_OES in meta_begin()
If the meta flag MESA_META_TEXTURE is present, then disable the texture target GL_TEXTURE_EXTERNAL_OES. Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
This commit is contained in:
parent
ac8a933aa8
commit
7e5ffd9be2
1 changed files with 2 additions and 0 deletions
|
|
@ -588,6 +588,8 @@ _mesa_meta_begin(struct gl_context *ctx, GLbitfield state)
|
|||
_mesa_set_enable(ctx, GL_TEXTURE_CUBE_MAP, GL_FALSE);
|
||||
if (ctx->Extensions.NV_texture_rectangle)
|
||||
_mesa_set_enable(ctx, GL_TEXTURE_RECTANGLE, GL_FALSE);
|
||||
if (ctx->Extensions.OES_EGL_image_external)
|
||||
_mesa_set_enable(ctx, GL_TEXTURE_EXTERNAL_OES, GL_FALSE);
|
||||
_mesa_set_enable(ctx, GL_TEXTURE_GEN_S, GL_FALSE);
|
||||
_mesa_set_enable(ctx, GL_TEXTURE_GEN_T, GL_FALSE);
|
||||
_mesa_set_enable(ctx, GL_TEXTURE_GEN_R, GL_FALSE);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue