diff options
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index b825a63feef..6ef394fe730 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1856,8 +1856,7 @@ _mesa_valid_to_render(struct gl_context *ctx, const char *where) break; case GL_GEOMETRY_SHADER_ARB: - _mesa_append_uniforms_to_file(sh, - &shProg[i]->GeometryProgram->Base); + _mesa_append_uniforms_to_file(sh, sh->Program); break; case GL_FRAGMENT_SHADER: |