From: Brian Paul Date: Mon, 16 Jan 2012 18:24:09 +0000 (-0700) Subject: mesa: remove obsolete PutRow, etc assignments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0d2f0c8bb86b8dfcb6f0be7bf027fe725007bc5f;p=mesa.git mesa: remove obsolete PutRow, etc assignments --- diff --git a/src/mesa/main/renderbuffer.c b/src/mesa/main/renderbuffer.c index 08e694673ae..031cd647c60 100644 --- a/src/mesa/main/renderbuffer.c +++ b/src/mesa/main/renderbuffer.c @@ -32,17 +32,6 @@ #include "renderbuffer.h" -/** - * Default GetPointer routine. Always return NULL to indicate that - * direct buffer access is not supported. - */ -static void * -nop_get_pointer(struct gl_context *ctx, struct gl_renderbuffer *rb, GLint x, GLint y) -{ - return NULL; -} - - /** * Initialize the fields of a gl_renderbuffer to default values. */ @@ -73,12 +62,6 @@ _mesa_init_renderbuffer(struct gl_renderbuffer *rb, GLuint name) * all over the drivers. */ rb->Wrapped = rb; - - rb->GetPointer = nop_get_pointer; - rb->GetRow = NULL; - rb->GetValues = NULL; - rb->PutRow = NULL; - rb->PutValues = NULL; }