Draw manager: Fix initialization of static struct
It's first member is a multi-dimensional array, so proper way to initialize that is to use multiple levels of braces.
This commit is contained in:
@@ -307,7 +307,7 @@ static struct DRWGlobalState {
|
||||
static struct DRWMatrixOveride {
|
||||
float mat[6][4][4];
|
||||
bool override[6];
|
||||
} viewport_matrix_override = {0};
|
||||
} viewport_matrix_override = {{{{0}}}};
|
||||
|
||||
ListBase DRW_engines = {NULL, NULL};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user