mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 16:50:10 +01:00
mesa/main: fix regression in extension-checking
This condition accidentally got inverted when cleaning up code, whoops.
Fixes: 3251f321b8 ("mesa: some cleanups for texparam extension checks")
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34248>
This commit is contained in:
parent
cbde0ec2dc
commit
eb82d65a20
1 changed files with 1 additions and 1 deletions
|
|
@ -2762,7 +2762,7 @@ get_tex_parameteriv(struct gl_context *ctx,
|
|||
break;
|
||||
|
||||
case GL_TEXTURE_CUBE_MAP_SEAMLESS:
|
||||
if (_mesa_has_AMD_seamless_cubemap_per_texture(ctx))
|
||||
if (!_mesa_has_AMD_seamless_cubemap_per_texture(ctx))
|
||||
goto invalid_pname;
|
||||
*params = (GLint) obj->Sampler.Attrib.CubeMapSeamless;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue