egl/android: annotate static const data as such
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 25 Aug 2016 11:08:07 +0000 (12:08 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 30 Aug 2016 13:50:08 +0000 (14:50 +0100)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
src/egl/drivers/dri2/platform_android.c

index e7b30b4eeb50024d234559167a4c2f3c4138d0c8..512a1b8b5c2c1703c8bf4e8c33bcb4dee5398f63 100644 (file)
@@ -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[] = {