mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-07 06:08:16 +02:00
radeon: put back state emission lastcmd
This commit is contained in:
parent
d2fa89140e
commit
b1df5ed6db
1 changed files with 1 additions and 4 deletions
|
|
@ -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; \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue