summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglmode.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-05-16 00:31:29 +0000
committerBrian Paul <[email protected]>2005-05-16 00:31:29 +0000
commit9b134f641c3a2ee8d12e6b2a205e9fe6ff2cf401 (patch)
tree96524d02408ecd811e59c4f2533fb9ba170a093b /src/egl/main/eglmode.h
parentefeea95dcc9094528dcce59abc475046835ecd6a (diff)
minor tweaks
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