glcpp: Add the define for ARB_explicit_attrib_location when present
This commit is contained in:
parent
5ed6610d11
commit
e0c9f67be5
|
@ -1094,6 +1094,9 @@ glcpp_parser_create (const struct gl_extensions *extensions, int api)
|
|||
if (extensions->ARB_fragment_coord_conventions)
|
||||
add_builtin_define(parser, "GL_ARB_fragment_coord_conventions",
|
||||
1);
|
||||
|
||||
if (extensions->ARB_explicit_attrib_location)
|
||||
add_builtin_define(parser, "GL_ARB_explicit_attrib_location", 1);
|
||||
}
|
||||
|
||||
language_version = 110;
|
||||
|
|
Loading…
Reference in New Issue