return a version for GL_VERSION

This commit is contained in:
Bill Currie 2003-04-13 05:58:22 +00:00
parent 63c3038ad8
commit 105ef11e0e
2 changed files with 4 additions and 0 deletions

View File

@ -800,6 +800,8 @@ norm_glGetSeparableFilter (GLenum target, GLenum format, GLenum type, GLvoid * r
const GLubyte * const GLubyte *
norm_glGetString (GLenum name) norm_glGetString (GLenum name)
{ {
if (name == GL_VERSION)
return "1.4";
return ""; return "";
} }

View File

@ -953,6 +953,8 @@ const GLubyte *
trace_glGetString (GLenum name) trace_glGetString (GLenum name)
{ {
TRACE; TRACE;
if (name == GL_VERSION)
return "1.4";
return ""; return "";
} }