diff options
author | Thilo Schulz <arny@ats.s.bawue.de> | 2011-05-09 23:39:40 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-09 21:38:39 +0000 |
commit | 978c0599002feabd27b18767389182cf77e5a3e6 (patch) | |
tree | af7ca5fb2f7be3010acfd68e342262f4d9b4b620 /src/renderer/tr_backend.c | |
parent | 91afb0a90e002901a98139be600a550a34d9eced (diff) |
Choose better alignment for heavy-duty rendering structures, patch by Matt Turner (#4981)
Diffstat (limited to 'src/renderer/tr_backend.c')
-rw-r--r-- | src/renderer/tr_backend.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/renderer/tr_backend.c b/src/renderer/tr_backend.c index 54431ab8..704d947f 100644 --- a/src/renderer/tr_backend.c +++ b/src/renderer/tr_backend.c @@ -1143,6 +1143,8 @@ void RB_ExecuteRenderCommands( const void *data ) { } while ( 1 ) { + data = PADP(data, sizeof(void *)); + switch ( *(const int *)data ) { case RC_SET_COLOR: data = RB_SetColor( data ); |