summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.h
diff options
context:
space:
mode:
authorMarta Lofstedt <[email protected]>2015-11-25 12:16:02 +0100
committerMarta Lofstedt <[email protected]>2015-11-26 08:40:46 +0100
commit63b49e1711382c263acdcbe2d58c28ef64164059 (patch)
tree92737c88400089ddd302884661141fc6b301ebb8 /src/mesa/main/context.h
parentc2e146f4879b806e7178b8145645268c1ce0b4cd (diff)
mesa: remove ARB_geometry_shader4
No drivers currently implement ARB_geometry_shader4, nor are there any plans to implement it. We only support the version of geometry shaders that was incorporated into OpenGL 3.2 / GLSL 1.50. Signed-off-by: Marta Lofstedt <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/context.h')
-rw-r--r--src/mesa/main/context.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h
index 4798b1f9b43..8b64f452572 100644
--- a/src/mesa/main/context.h
+++ b/src/mesa/main/context.h
@@ -330,8 +330,7 @@ _mesa_is_gles31(const struct gl_context *ctx)
static inline bool
_mesa_has_geometry_shaders(const struct gl_context *ctx)
{
- return _mesa_is_desktop_gl(ctx) &&
- (ctx->Version >= 32 || ctx->Extensions.ARB_geometry_shader4);
+ return _mesa_is_desktop_gl(ctx) && ctx->Version >= 32;
}