mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
mesa/es3.1: Allow GL_SAMPLE_MASK
GLES 3.1 should be allowed to enable GL_SAMPLE_MASK. Signed-off-by: Marta Lofstedt <marta.lofstedt@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
This commit is contained in:
parent
2e0179e2b3
commit
4f8e4a95db
1 changed files with 1 additions and 1 deletions
|
|
@ -1001,7 +1001,7 @@ _mesa_set_enable(struct gl_context *ctx, GLenum cap, GLboolean state)
|
||||||
|
|
||||||
/* ARB_texture_multisample */
|
/* ARB_texture_multisample */
|
||||||
case GL_SAMPLE_MASK:
|
case GL_SAMPLE_MASK:
|
||||||
if (!_mesa_is_desktop_gl(ctx))
|
if (!_mesa_is_desktop_gl(ctx) && !_mesa_is_gles31(ctx))
|
||||||
goto invalid_enum_error;
|
goto invalid_enum_error;
|
||||||
CHECK_EXTENSION(ARB_texture_multisample, cap);
|
CHECK_EXTENSION(ARB_texture_multisample, cap);
|
||||||
if (ctx->Multisample.SampleMask == state)
|
if (ctx->Multisample.SampleMask == state)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue