mesa: remove obsolete PutRow, etc assignments

This commit is contained in:
Brian Paul
2012-01-16 11:24:09 -07:00
parent d65bbfa947
commit 0d2f0c8bb8

View File

@@ -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;
}