summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-09-15 19:57:51 +0000
committerBrian Paul <[email protected]>2000-09-15 19:57:51 +0000
commit4ed1d0b2c0c30c0b415cbf78aa90f334da91f543 (patch)
treefa93728cdc39eeb4cd709d6f673caa157198ff6d /src/mesa/main/get.c
parent1ff933b4522b7be7d08e015f9e792eea5b53cd5f (diff)
added some missing const keywords in GetString
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r--src/mesa/main/get.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index 542d8061b2c..69deced9153 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -1,4 +1,4 @@
-/* $Id: get.c,v 1.32 2000/08/30 18:21:06 brianp Exp $ */
+/* $Id: get.c,v 1.33 2000/09/15 19:57:51 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -4750,10 +4750,10 @@ _mesa_GetString( GLenum name )
case GL_VERSION:
return (const GLubyte *) version;
case GL_EXTENSIONS:
- return (GLubyte *) gl_extensions_get_string( ctx );
+ return (const GLubyte *) gl_extensions_get_string( ctx );
default:
gl_error( ctx, GL_INVALID_ENUM, "glGetString" );
- return (GLubyte *) 0;
+ return (const GLubyte *) 0;
}
}
}