fix bad fragment shader pointer assignment

This commit is contained in:
Brian 2007-10-29 09:41:53 -06:00
parent cc0b55c242
commit b58b64f361

View 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;