summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2007-09-17 13:22:51 +0100
committerMichel Dänzer <[email protected]>2007-09-17 13:22:51 +0100
commitbf92350b5b2c8e14515fb8bbfacd8c06502dfb98 (patch)
treeb84bcf37ba53160ab089a19b27c79c9051b6f264
parentd59c95bfae0402813a6b9a1242cdd971624c127a (diff)
Fix linux-dri-x86 build.
-rw-r--r--src/mesa/state_tracker/st_atom_vs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_atom_vs.c b/src/mesa/state_tracker/st_atom_vs.c
index a1e6117bde3..289a3e4f46c 100644
--- a/src/mesa/state_tracker/st_atom_vs.c
+++ b/src/mesa/state_tracker/st_atom_vs.c
@@ -72,7 +72,7 @@ static void compile_vs( struct st_context *st )
#if defined(USE_X86_ASM) || defined(SLANG_X86)
tgsi_emit_sse2(
vp->vs.tokens,
- &vp->vs.sse2_program );
+ &vp->sse2_program );
#endif
vp->dirty = 0;
@@ -106,7 +106,7 @@ static void update_vs( struct st_context *st )
compile_vs( st );
#if defined(USE_X86_ASM) || defined(SLANG_X86)
- vs.executable = (void *) x86_get_func( &vp->sse2_program );
+ st->vp->vs.executable = (void *) x86_get_func( &vp->sse2_program );
#endif
st->state.vs = st->vp->vs;