diff options
author | Ian Romanick <[email protected]> | 2011-08-20 14:26:12 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-10-07 16:39:50 -0700 |
commit | 39348bf79fb247eec895c93e52f23afe138be46a (patch) | |
tree | ab54c146078a569e77bca80eec86fe251edc42bb /src/mesa/main/context.c | |
parent | 010cc547ca8c1fb2107106b0ad0de560780ce9aa (diff) |
mesa: Use gl_shader_program::_LinkedShaders instead of GeometryProgram
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
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: |