summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-02-17 20:52:49 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-02-17 20:52:49 +0000
commitb6273023a22dd971b1c2ad7f7aa4ffadfaee18f1 (patch)
tree03eec8a2162729027fbfb6c8595502a27d396cd1 /src/mesa
parent27b4b2f003636d7f64829e0487f5f8dbc8b1eebe (diff)
replaced gl_ggiRendererString() with gl_ggiGetString()
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/ggi/ggimesa.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mesa/drivers/ggi/ggimesa.c b/src/mesa/drivers/ggi/ggimesa.c
index be79216bae..4b951c3332 100644
--- a/src/mesa/drivers/ggi/ggimesa.c
+++ b/src/mesa/drivers/ggi/ggimesa.c
@@ -193,9 +193,12 @@ static void gl_ggiSetReadBuffer(GLcontext *ctx, GLframebuffer *buffer, GLenum mo
}
-static const char * gl_ggiRendererString(void)
+static const GLubyte * gl_ggiGetString(GLcontext *ctx, GLenum name)
{
- return "GGI";
+ if (name == GL_RENDERER)
+ return (GLubyte *) "Mesa GGI";
+ else
+ return NULL;
}
static void gl_ggiFlush(GLcontext *ctx)
@@ -208,7 +211,7 @@ static void gl_ggiSetupPointers( GLcontext *ctx )
/* Initialize all the pointers in the DD struct. Do this whenever */
/* a new context is made current or we change buffers via set_buffer! */
- ctx->Driver.RendererString = gl_ggiRendererString;
+ ctx->Driver.GetString = gl_ggiGetString;
ctx->Driver.UpdateState = gl_ggiUpdateState;
ctx->Driver.ClearIndex = gl_ggiSetClearIndex;