summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglmode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/main/eglmode.h')
-rw-r--r--src/egl/main/eglmode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/main/eglmode.h b/src/egl/main/eglmode.h
index 71adef42ed4..ed2f022d054 100644
--- a/src/egl/main/eglmode.h
+++ b/src/egl/main/eglmode.h
@@ -13,7 +13,7 @@ struct _egl_mode
EGLint Width, Height; /* size in pixels */
EGLint RefreshRate; /* rate * 1000.0 */
EGLBoolean Stereo;
- char *Name;
+ const char *Name;
/* Other possible attributes */
/* interlaced */
@@ -27,7 +27,7 @@ _eglLookupMode(EGLDisplay dpy, EGLModeMESA mode);
extern _EGLMode *
_eglAddMode(_EGLScreen *screen, EGLint width, EGLint height,
- EGLint refreshRate, char *name);
+ EGLint refreshRate, const char *name);
extern EGLBoolean