Cleanup: fix some harmless compiler warnings.

This commit is contained in:
Brecht Van Lommel 2018-05-28 23:27:40 +02:00
parent 359469a39a
commit eb2491363a
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ static struct {
float light_direction_vs[3];
int next_object_id;
float normal_world_matrix[3][3];
} e_data = {NULL};
} e_data = {{NULL}};
/* Shaders */
extern char datatoc_workbench_prepass_vert_glsl[];

View File

@ -63,7 +63,7 @@ static struct {
struct GPUTexture *composite_buffer_tx; /* ref only, not alloced */
int next_object_id;
float normal_world_matrix[3][3];
} e_data = {NULL};
} e_data = {{NULL}};
/* Shaders */
extern char datatoc_workbench_forward_composite_frag_glsl[];