mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-27 14:10:25 +01:00
meta: Don't enable TEXTURE_RECTANGLE when it's unsupported.
In particular, drivers don't enable this in ES 1.1 contexts. Prior to this, none of the OpenGL ES 1.1 conformance tests passed. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
9f2c56fbd6
commit
300a4cd9f2
1 changed files with 2 additions and 1 deletions
|
|
@ -496,7 +496,8 @@ _mesa_meta_begin(struct gl_context *ctx, GLbitfield state)
|
|||
_mesa_set_enable(ctx, GL_TEXTURE_3D, GL_FALSE);
|
||||
if (ctx->Extensions.ARB_texture_cube_map)
|
||||
_mesa_set_enable(ctx, GL_TEXTURE_CUBE_MAP, GL_FALSE);
|
||||
_mesa_set_enable(ctx, GL_TEXTURE_RECTANGLE, GL_FALSE);
|
||||
if (ctx->Extensions.NV_texture_rectangle)
|
||||
_mesa_set_enable(ctx, GL_TEXTURE_RECTANGLE, 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