projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2fa891
)
radeon: put back state emission lastcmd
author
Dave Airlie
<airlied@redhat.com>
Mon, 9 Feb 2009 18:57:37 +0000
(
04:57
+1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 9 Feb 2009 18:57:37 +0000
(
04:57
+1000)
src/mesa/drivers/dri/radeon/radeon_state_init.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_state_init.c
b/src/mesa/drivers/dri/radeon/radeon_state_init.c
index e820bc17b9994ba8071191e11db02af384d27527..c9278d85107177d6754ac3cb97766344a402eeba 100644
(file)
--- 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; \