From 3965bc5d22deef6ada838a3ba991d6347201a28a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 7 May 2010 17:10:03 -0600 Subject: mesa: remove driver hooks for GetFloat/Integer/Doublev, etc Once upon a time some drivers hooked into these for GL_HP_occlusion_test and GL_OES_read_format. They're not being used anymore so get rid of them. --- src/mesa/main/get.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/mesa/main/get.c') diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index e3015cd603..2e8b0a4e8c 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -83,10 +83,6 @@ _mesa_GetBooleanv( GLenum pname, GLboolean *params ) if (!params) return; - if (ctx->Driver.GetBooleanv && - ctx->Driver.GetBooleanv(ctx, pname, params)) - return; - switch (pname) { case GL_ACCUM_RED_BITS: params[0] = INT_TO_BOOLEAN(ctx->DrawBuffer->Visual.accumRedBits); @@ -2000,10 +1996,6 @@ _mesa_GetFloatv( GLenum pname, GLfloat *params ) if (!params) return; - if (ctx->Driver.GetFloatv && - ctx->Driver.GetFloatv(ctx, pname, params)) - return; - switch (pname) { case GL_ACCUM_RED_BITS: params[0] = (GLfloat)(ctx->DrawBuffer->Visual.accumRedBits); @@ -3917,10 +3909,6 @@ _mesa_GetIntegerv( GLenum pname, GLint *params ) if (!params) return; - if (ctx->Driver.GetIntegerv && - ctx->Driver.GetIntegerv(ctx, pname, params)) - return; - switch (pname) { case GL_ACCUM_RED_BITS: params[0] = ctx->DrawBuffer->Visual.accumRedBits; @@ -5835,10 +5823,6 @@ _mesa_GetInteger64v( GLenum pname, GLint64 *params ) if (!params) return; - if (ctx->Driver.GetInteger64v && - ctx->Driver.GetInteger64v(ctx, pname, params)) - return; - switch (pname) { case GL_ACCUM_RED_BITS: params[0] = (GLint64)(ctx->DrawBuffer->Visual.accumRedBits); -- cgit v1.2.3