aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2016-12-08 11:00:00 +0000
committerLionel Landwerlin <[email protected]>2016-12-13 16:27:51 +0000
commit300d96a4335b842256c2586a8472f0fbadb594f4 (patch)
tree2a817f2724724d7641e426ce120aaa88117910c5 /src/mesa/main
parent9854a3ba8bd34b36737753f2ec7c61b06d64da4c (diff)
main: don't error when enabling conservative rasterization on gles
Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/enable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c
index 669fe167a51..f0c5bb7f35c 100644
--- a/src/mesa/main/enable.c
+++ b/src/mesa/main/enable.c
@@ -440,7 +440,7 @@ _mesa_set_enable(struct gl_context *ctx, GLenum cap, GLboolean state)
ctx->Color.IndexLogicOpEnabled = state;
break;
case GL_CONSERVATIVE_RASTERIZATION_INTEL:
- if (!_mesa_is_desktop_gl(ctx) && ctx->API != API_OPENGLES)
+ if (!_mesa_has_INTEL_conservative_rasterization(ctx))
goto invalid_enum_error;
if (ctx->IntelConservativeRasterization == state)
return;