[client] egl: correctly use flexible array members for BindData

Array size of 0 is a gcc extension, the standard C is not declaring a size.
This commit is contained in:
Quantum 2021-08-09 16:04:07 -04:00 committed by Geoffrey McRae
parent 58964ce317
commit eb680086ef

View File

@ -254,7 +254,7 @@ BindInfo;
typedef struct BindData typedef struct BindData
{ {
GLuint sampler; GLuint sampler;
GLuint dimensions[0]; GLuint dimensions[];
} }
BindData; BindData;