mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +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
|
||||
{
|
||||
GLuint sampler;
|
||||
GLuint dimensions[0];
|
||||
GLuint dimensions[];
|
||||
}
|
||||
BindData;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user