summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-02-10 04:57:37 +1000
committerDave Airlie <airlied@redhat.com>2009-02-10 04:57:37 +1000
commitb1df5ed6db4d79de895e37bcdd12dfbaae7bd4f6 (patch)
tree6f9f4622f46f56ce3d9d1165fa7873014a1e65ce /src/mesa
parentd2fa89140ebc5cfdd93dcb37d6106e78b01c34d8 (diff)
radeon: put back state emission lastcmd
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_state_init.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_state_init.c b/src/mesa/drivers/dri/radeon/radeon_state_init.c
index e820bc17b9..c9278d8510 100644
--- a/src/mesa/drivers/dri/radeon/radeon_state_init.c
+++ b/src/mesa/drivers/dri/radeon/radeon_state_init.c
@@ -516,14 +516,11 @@ void radeonInitState( r100ContextPtr rmesa )
rmesa->hw.max_state_size = 0;
-
- // rmesa->hw.ATOM.lastcmd = (GLuint *)CALLOC(SZ * sizeof(int)); \
-
-
#define ALLOC_STATE_IDX( ATOM, CHK, SZ, NM, FLAG, IDX ) \
do { \
rmesa->hw.ATOM.cmd_size = SZ; \
rmesa->hw.ATOM.cmd = (GLuint *)CALLOC(SZ * sizeof(int)); \
+ rmesa->hw.ATOM.lastcmd = (GLuint *)CALLOC(SZ * sizeof(int)); \
rmesa->hw.ATOM.name = NM; \
rmesa->hw.ATOM.is_tcl = FLAG; \
rmesa->hw.ATOM.check = check_##CHK; \