Fix various warnings
This commit is contained in:
1 parent
549b686e22
commit
f976711fb4
58 files changed
+384
-425
No files matched your search
@@ -239,9 +239,9 @@ void RE_SetColor( const float *rgba ) {
|
||||
}
|
||||
cmd->commandId = RC_SET_COLOR;
|
||||
if ( !rgba ) {
|
||||
static float colorWhite[4] = { 1, 1, 1, 1 };
|
||||
static float white[4] = { 1.0f, 1.0f, 1.0f, 1.0f };
|
||||
|
||||
rgba = colorWhite;
|
||||
rgba = white;
|
||||
}
|
||||
|
||||
cmd->color[0] = rgba[0];
|
||||
|
||||
Reference in new issue
Block a user