diff options
Diffstat (limited to 'src/glsl/builtins/tools/generate_builtins.py')
-rwxr-xr-x | src/glsl/builtins/tools/generate_builtins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/builtins/tools/generate_builtins.py b/src/glsl/builtins/tools/generate_builtins.py index 7eccb7dca91..0b7f6a04403 100755 --- a/src/glsl/builtins/tools/generate_builtins.py +++ b/src/glsl/builtins/tools/generate_builtins.py @@ -173,7 +173,7 @@ gl_shader * read_builtins(GLenum target, const char *protos, const char **functions, unsigned count) { struct gl_context fakeCtx; - fakeCtx.API = API_OPENGL; + fakeCtx.API = API_OPENGL_COMPAT; fakeCtx.Const.GLSLVersion = 140; fakeCtx.Extensions.ARB_ES2_compatibility = true; fakeCtx.Const.ForceGLSLExtensionsWarn = false; |