summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/glsl/linker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp
index ffff08b17bf..64827da2f8e 100644
--- a/src/glsl/linker.cpp
+++ b/src/glsl/linker.cpp
@@ -1482,7 +1482,7 @@ link_shaders(struct gl_context *ctx, struct gl_shader_program *prog)
goto done;
if (!validate_vertex_shader_executable(prog, sh))
- goto done;
+ goto done;
_mesa_reference_shader(ctx, &prog->_LinkedShaders[MESA_SHADER_VERTEX],
sh);
@@ -1496,7 +1496,7 @@ link_shaders(struct gl_context *ctx, struct gl_shader_program *prog)
goto done;
if (!validate_fragment_shader_executable(prog, sh))
- goto done;
+ goto done;
_mesa_reference_shader(ctx, &prog->_LinkedShaders[MESA_SHADER_FRAGMENT],
sh);