Permalink
Browse files

glcpp: define extension macros for EXT/ARB_geometry_shader4

  • Loading branch information...
1 parent bb412cd commit 1311ff04b987db3cf94c16bb1341ef4ef3c7cc82 @Plombo committed Aug 24, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/glsl/glcpp/glcpp-parse.y
@@ -1189,6 +1189,11 @@ glcpp_parser_create (const struct gl_extensions *extensions, int api)
if (extensions->ARB_uniform_buffer_object)
add_builtin_define(parser, "GL_ARB_uniform_buffer_object", 1);
+
+ if (extensions->ARB_geometry_shader4) {
+ add_builtin_define(parser, "GL_ARB_geometry_shader4", 1);
+ add_builtin_define(parser, "GL_EXT_geometry_shader4", 1);
+ }
}
language_version = 110;

0 comments on commit 1311ff0

Please sign in to comment.