summaryrefslogtreecommitdiffstats
path: root/src/glsl/glsl_parser_extras.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-09-05 01:27:02 -0700
committerKenneth Graunke <[email protected]>2010-09-07 17:30:37 -0700
commit7dcfc44b72f00ba5a38cb02123c80113440f0de9 (patch)
treecb119dea4be95f12bab48bddf6f21cfd9ed9592b /src/glsl/glsl_parser_extras.h
parent719caa403ecc3345b86708f8172600d80132d6cb (diff)
glsl: Define GL_ES preprocessor macro if API is OpenGL ES 2.0.
Also define it if #version 100 is encountered.
Diffstat (limited to 'src/glsl/glsl_parser_extras.h')
-rw-r--r--src/glsl/glsl_parser_extras.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glsl_parser_extras.h b/src/glsl/glsl_parser_extras.h
index f0977f929a2..ddc2138b765 100644
--- a/src/glsl/glsl_parser_extras.h
+++ b/src/glsl/glsl_parser_extras.h
@@ -223,7 +223,7 @@ extern "C" {
#endif
extern int preprocess(void *ctx, const char **shader, char **info_log,
- const struct gl_extensions *extensions);
+ const struct gl_extensions *extensions, int api);
extern void _mesa_destroy_shader_compiler();
extern void _mesa_destroy_shader_compiler_caches();