summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-16 11:38:46 -0700
committerBrian Paul <[email protected]>2012-01-24 14:12:16 -0700
commita4a566a610778e6ab93424a38e372c3dcb7d92d3 (patch)
tree5083eb7ee520533e57121637189495d3df484665
parent0ff817f200ef4cb4a5ab0d90eccfc83d0671fb65 (diff)
st/mesa: remove gl_renderbuffer::GetPointer stuff
-rw-r--r--src/mesa/state_tracker/st_cb_fbo.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c
index b01f68fe096..fefd93a4b3c 100644
--- a/src/mesa/state_tracker/st_cb_fbo.c
+++ b/src/mesa/state_tracker/st_cb_fbo.c
@@ -185,23 +185,6 @@ st_renderbuffer_delete(struct gl_renderbuffer *rb)
/**
- * gl_renderbuffer::GetPointer()
- */
-static void *
-null_get_pointer(struct gl_context * ctx, struct gl_renderbuffer *rb,
- GLint x, GLint y)
-{
- /* By returning NULL we force all software rendering to go through
- * the span routines.
- */
-#if 0
- assert(0); /* Should never get called with softpipe */
-#endif
- return NULL;
-}
-
-
-/**
* Called via ctx->Driver.NewFramebuffer()
*/
static struct gl_framebuffer *
@@ -223,7 +206,6 @@ st_new_renderbuffer(struct gl_context *ctx, GLuint name)
_mesa_init_renderbuffer(&strb->Base, name);
strb->Base.Delete = st_renderbuffer_delete;
strb->Base.AllocStorage = st_renderbuffer_alloc_storage;
- strb->Base.GetPointer = null_get_pointer;
strb->format = PIPE_FORMAT_NONE;
return &strb->Base;
}
@@ -307,7 +289,6 @@ st_new_renderbuffer_fb(enum pipe_format format, int samples, boolean sw)
/* st-specific methods */
strb->Base.Delete = st_renderbuffer_delete;
strb->Base.AllocStorage = st_renderbuffer_alloc_storage;
- strb->Base.GetPointer = null_get_pointer;
/* surface is allocated in st_renderbuffer_alloc_storage() */
strb->surface = NULL;