mesa: do not allow es2-extension enums for es1
Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8028>
This commit is contained in:
parent
4eaff8dba7
commit
47eb9b865d
|
@ -99,7 +99,7 @@ pixel_storei(GLenum pname, GLint param, bool no_error)
|
|||
ctx->Pack.Invert = param;
|
||||
break;
|
||||
case GL_PACK_REVERSE_ROW_ORDER_ANGLE:
|
||||
if (!no_error && !_mesa_is_gles(ctx))
|
||||
if (!no_error && !_mesa_has_ANGLE_pack_reverse_row_order(ctx))
|
||||
goto invalid_enum_error;
|
||||
ctx->Pack.Invert = param;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue