diff options
author | Zack Rusin <[email protected]> | 2007-09-24 05:43:07 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2007-09-24 05:43:07 -0400 |
commit | c0afc92f00e5153a168fb6df518b7a2e6b3b9406 (patch) | |
tree | 6b069ec07f7827cbd3196c91ca2ae2f7d3f247e6 | |
parent | 1ae7373ac520c277d9aa7b915526bb0e1567b9a5 (diff) |
In here we actually do want to assign it. Fix compilation.
-rw-r--r-- | src/mesa/state_tracker/st_atom_vs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atom_vs.c b/src/mesa/state_tracker/st_atom_vs.c index ae51e9764b1..9050f30cab6 100644 --- a/src/mesa/state_tracker/st_atom_vs.c +++ b/src/mesa/state_tracker/st_atom_vs.c @@ -216,7 +216,7 @@ st_translate_vertex_shader(struct st_context *st, tgsi_emit_sse2( stvp->tokens, &stvp->sse2_program ); if (!cso->state.executable) - cso->state.executable = (void *) x86_get_func( &stvp->sse2_program ); + ((struct cso_vertex_shader*)cso)->state.executable = (void *) x86_get_func( &stvp->sse2_program ); #endif stvp->dirty = 0; |