From 0d2f0c8bb86b8dfcb6f0be7bf027fe725007bc5f Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 16 Jan 2012 11:24:09 -0700 Subject: [PATCH] mesa: remove obsolete PutRow, etc assignments --- src/mesa/main/renderbuffer.c | 17 ----------------- 1 file changed, 17 deletions(-) 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; } -- 2.30.2