aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/main.cpp
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-01-15 15:54:40 +0000
committermarha <marha@users.sourceforge.net>2011-01-15 15:54:40 +0000
commit6feea7e6cdde235d7e3727c4155ca9f8d90df3ca (patch)
treea076f2c272c1ece006576805a07b484bbe614a07 /mesalib/src/glsl/main.cpp
parent175af178d1500ccafa7e7026959c138f5b8d9312 (diff)
downloadvcxsrv-6feea7e6cdde235d7e3727c4155ca9f8d90df3ca.tar.gz
vcxsrv-6feea7e6cdde235d7e3727c4155ca9f8d90df3ca.tar.bz2
vcxsrv-6feea7e6cdde235d7e3727c4155ca9f8d90df3ca.zip
mesalib git update 14/1/2011
Diffstat (limited to 'mesalib/src/glsl/main.cpp')
-rw-r--r--mesalib/src/glsl/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/glsl/main.cpp b/mesalib/src/glsl/main.cpp
index 010393c8e..0f5581b12 100644
--- a/mesalib/src/glsl/main.cpp
+++ b/mesalib/src/glsl/main.cpp
@@ -185,7 +185,7 @@ compile_shader(struct gl_context *ctx, struct gl_shader *shader)
const char *source = shader->Source;
state->error = preprocess(state, &source, &state->info_log,
- state->extensions, ctx->API);
+ state->extensions, ctx->API) != 0;
if (!state->error) {
_mesa_glsl_lexer_ctor(state, source);