summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-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 a1e6117bde..289a3e4f46 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;