summaryrefslogtreecommitdiffstats
path: root/src/glx/dri_sarea.h
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2015-11-25 13:33:08 +0000
committerJose Fonseca <[email protected]>2015-11-27 14:14:25 +0000
commitc127e6a3ea93e09259f3ef7e44f5f147e7427418 (patch)
treebcb53ed3d56cb7c152c611040f4f5949e4cc48f2 /src/glx/dri_sarea.h
parentbc2470d5d3e9788af8d6aee0a001b7de9cd4972b (diff)
gallium: Make pipe_query_result::batch array length non-zero.
Zero length arrays are non standard: warning C4200: nonstandard extension used : zero-sized array in struct/union Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array And all code does `N * sizeof query_result->batch[0]`, so it should work exactly the same. Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/glx/dri_sarea.h')
0 files changed, 0 insertions, 0 deletions