minor tweaks
[mesa.git] / src / egl / main / eglmode.c
index 26ea6bd6054a12cddbc07a5bb9b93b735206d703..f2b17a6d270995102b0211387113d3795786b1e0 100644 (file)
@@ -56,7 +56,7 @@ _eglLookupMode(EGLDisplay dpy, EGLModeMESA mode)
  */
 _EGLMode *
 _eglAddMode(_EGLScreen *screen, EGLint width, EGLint height,
-            EGLint refreshRate, char *name)
+            EGLint refreshRate, const char *name)
 {
    EGLint n;
    _EGLMode *newModes;