Mesa (master): egl/android: annotate static const data as such

Emil Velikov evelikov at kemper.freedesktop.org
Tue Aug 30 13:55:32 UTC 2016


Module: Mesa
Branch: master
Commit: 4472b6e46985d0e80bdcf385f9dde542daeb5c55
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4472b6e46985d0e80bdcf385f9dde542daeb5c55

Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Aug 25 12:08:07 2016 +0100

egl/android: annotate static const data as such

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Tomasz Figa <tfiga at chromium.org>

---

 src/egl/drivers/dri2/platform_android.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c
index e7b30b4..512a1b8 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[] = {




More information about the mesa-commit mailing list