Choose better alignment for heavy-duty rendering structures, patch by Matt Turner (#4981)
This commit is contained in:
parent
185d2d6b60
commit
5f63ab9160
5 changed files with 11 additions and 4 deletions
|
@ -1878,6 +1878,8 @@ static void FixRenderCommandList( int newShader ) {
|
|||
const void *curCmd = cmdList->cmds;
|
||||
|
||||
while ( 1 ) {
|
||||
curCmd = PADP(curCmd, sizeof(void *));
|
||||
|
||||
switch ( *(const int *)curCmd ) {
|
||||
case RC_SET_COLOR:
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue