mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-26 07:17:23 +00:00
[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:
parent
58964ce317
commit
eb680086ef
@ -254,7 +254,7 @@ BindInfo;
|
|||||||
typedef struct BindData
|
typedef struct BindData
|
||||||
{
|
{
|
||||||
GLuint sampler;
|
GLuint sampler;
|
||||||
GLuint dimensions[0];
|
GLuint dimensions[];
|
||||||
}
|
}
|
||||||
BindData;
|
BindData;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user