diff options
-rw-r--r-- | src/mesa/main/enable.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index 573643b419b..f41f6185796 100644 --- a/src/mesa/main/enable.c +++ b/src/mesa/main/enable.c @@ -1969,7 +1969,8 @@ _mesa_IsEnabled( GLenum cap ) return ctx->TileRasterOrderIncreasingY; case GL_BLACKHOLE_RENDER_INTEL: - CHECK_EXTENSION(INTEL_blackhole_render); + if (!_mesa_has_INTEL_blackhole_render(ctx)) + goto invalid_enum_error; return ctx->IntelBlackholeRender; default: |