[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 authored and Geoffrey McRae committed 2021-08-10 06:10:42 +10:00
1 parent 58964ce317
commit eb680086ef
1 file changed
+1 -1
+1 -1
View File
@@ -254,7 +254,7 @@ BindInfo;
typedef struct BindData
{
GLuint sampler;
GLuint dimensions[0];
GLuint dimensions[];
}
BindData;