fix bad fragment shader pointer assignment
authorBrian <brian.paul@tungstengraphics.com>
Mon, 29 Oct 2007 15:41:53 +0000 (09:41 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 29 Oct 2007 15:41:53 +0000 (09:41 -0600)
src/mesa/pipe/softpipe/sp_state_derived.c

index e5ca953..81f70f0 100644 (file)
@@ -44,7 +44,7 @@
 static void calculate_vertex_layout( struct softpipe_context *softpipe )
 {
    const struct pipe_shader_state *vs = softpipe->vs->state;
-   const struct pipe_shader_state *fs = softpipe->fs;
+   const struct pipe_shader_state *fs = &softpipe->fs->shader;
    const enum interp_mode colorInterp
       = softpipe->rasterizer->flatshade ? INTERP_CONSTANT : INTERP_LINEAR;
    struct vertex_info *vinfo = &softpipe->vertex_info;