glsl: cleanup, remove duplicate assignment
authorTapani Pälli <tapani.palli@intel.com>
Fri, 1 Nov 2013 10:22:01 +0000 (12:22 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 18 Nov 2013 02:51:37 +0000 (18:51 -0800)
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/glsl_parser_extras.cpp

index d922db9dbf28b67335966c9d50b2d9086837e75a..f401f03bc7681baef499f1e73a337c86b068c374 100644 (file)
@@ -1529,7 +1529,6 @@ _mesa_glsl_compile_shader(struct gl_context *ctx, struct gl_shader *shader,
    shader->CompileStatus = !state->error;
    shader->InfoLog = state->info_log;
    shader->Version = state->language_version;
-   shader->InfoLog = state->info_log;
    shader->IsES = state->es_shader;
 
    memcpy(shader->builtins_to_link, state->builtins_to_link,