diff options
Diffstat (limited to 'mesalib/src/glsl/glcpp/glcpp.c')
-rwxr-xr-x[-rw-r--r--] | mesalib/src/glsl/glcpp/glcpp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesalib/src/glsl/glcpp/glcpp.c b/mesalib/src/glsl/glcpp/glcpp.c index b632f1715..0144be85b 100644..100755 --- a/mesalib/src/glsl/glcpp/glcpp.c +++ b/mesalib/src/glsl/glcpp/glcpp.c @@ -38,7 +38,7 @@ #define close _close #endif -extern int yydebug; +extern int glcpp_parser_debug; void _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr, @@ -109,6 +109,7 @@ load_text_file(void *ctx, const char *filename) static void init_fake_gl_context (struct gl_context *gl_ctx) { + gl_ctx->API = API_OPENGL_COMPAT; gl_ctx->Const.DisableGLSLLineContinuations = false; } |