From: Brian Paul Date: Fri, 15 Sep 2000 19:57:51 +0000 (+0000) Subject: added some missing const keywords in GetString X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ed1d0b2c0c30c0b415cbf78aa90f334da91f543;p=mesa.git added some missing const keywords in GetString --- 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; } } }