r300g: fix build
authorMarek Olšák <maraeo@gmail.com>
Thu, 2 Dec 2010 23:54:05 +0000 (00:54 +0100)
committerMarek Olšák <maraeo@gmail.com>
Thu, 2 Dec 2010 23:54:41 +0000 (00:54 +0100)
src/gallium/drivers/r300/r300_context.c

index 3b46f9934f2ceb930f5cfa2df9288a5f0d76301d..fd3f21d2a6aaa660b870666800dbfc068d3409c6 100644 (file)
@@ -284,7 +284,7 @@ static boolean r300_setup_atoms(struct r300_context* r300)
     R300_ALLOC_ATOM(fs_constants, r300_constant_buffer);
     R300_ALLOC_ATOM(vs_constants, r300_constant_buffer);
     if (!r300->screen->caps.has_tcl) {
-        R300_ALLOC_ATOM(r300->vertex_stream_state, r300_vertex_stream_state);
+        R300_ALLOC_ATOM(vertex_stream_state, r300_vertex_stream_state);
     }
 
     /* Some non-CSO atoms don't use the state pointer. */