diff options
author | Kenneth Graunke <[email protected]> | 2010-09-05 01:27:02 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2010-09-07 17:30:37 -0700 |
commit | 7dcfc44b72f00ba5a38cb02123c80113440f0de9 (patch) | |
tree | cb119dea4be95f12bab48bddf6f21cfd9ed9592b /src/glsl/glsl_parser_extras.h | |
parent | 719caa403ecc3345b86708f8172600d80132d6cb (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.h | 2 |
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(); |