summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-08-25 12:08:07 +0100
committerEmil Velikov <[email protected]>2016-08-30 14:50:08 +0100
commit4472b6e46985d0e80bdcf385f9dde542daeb5c55 (patch)
tree421003255c6436e27bc7017934c0e345071bf014 /src
parent7563c39641d07a604f22a9d47861121ce80116f9 (diff)
egl/android: annotate static const data as such
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Tomasz Figa <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/egl/drivers/dri2/platform_android.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c
index e7b30b4eeb5..512a1b8b5c2 100644
--- a/src/egl/drivers/dri2/platform_android.c
+++ b/src/egl/drivers/dri2/platform_android.c
@@ -753,7 +753,7 @@ static EGLBoolean
droid_add_configs_for_visuals(_EGLDriver *drv, _EGLDisplay *dpy)
{
struct dri2_egl_display *dri2_dpy = dri2_egl_display(dpy);
- const struct {
+ static const struct {
int format;
unsigned int rgba_masks[4];
} visuals[] = {