Mesa (master): r300g: fix build

Marek Olšák mareko at kemper.freedesktop.org
Thu Dec 2 23:54:57 UTC 2010


Module: Mesa
Branch: master
Commit: 0c9a63db095b32fdec8a8ff5f141b3418fbb9cce
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0c9a63db095b32fdec8a8ff5f141b3418fbb9cce

Author: Marek Olšák <maraeo at gmail.com>
Date:   Fri Dec  3 00:54:05 2010 +0100

r300g: fix build

---

 src/gallium/drivers/r300/r300_context.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c
index 3b46f99..fd3f21d 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. */




More information about the mesa-commit mailing list