From: Marek Olšák Date: Thu, 2 Dec 2010 23:54:05 +0000 (+0100) Subject: r300g: fix build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c9a63db095b32fdec8a8ff5f141b3418fbb9cce;p=mesa.git r300g: fix build --- diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c index 3b46f9934f2..fd3f21d2a6a 100644 --- a/src/gallium/drivers/r300/r300_context.c +++ b/src/gallium/drivers/r300/r300_context.c @@ -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. */