diff options
author | Brian <[email protected]> | 2007-08-07 09:55:13 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-07 09:55:13 -0600 |
commit | e43bc8da7a03462f1f3027fa308f7577fdb10156 (patch) | |
tree | dae5933de206e6a3d122b769e8b6d6e0baf9334f | |
parent | 647afc3179b6c2b3f35a9c4d388f7e0289a86404 (diff) |
get rid of temp write_mono_row_ub() function
-rw-r--r-- | src/mesa/drivers/x11/xm_surface.c | 3 | ||||
-rw-r--r-- | src/mesa/pipe/softpipe/sp_surface.h | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/mesa/drivers/x11/xm_surface.c b/src/mesa/drivers/x11/xm_surface.c index e8e795c00f7..6b52b33bf2b 100644 --- a/src/mesa/drivers/x11/xm_surface.c +++ b/src/mesa/drivers/x11/xm_surface.c @@ -150,6 +150,7 @@ write_quad_ub(struct softpipe_surface *sps, GLint x, GLint y, xrb->Base.GetRow(ctx, &xrb->Base, 2, x, y + 1, rgba + 2); } +#if 0 static void write_mono_row_ub(struct softpipe_surface *sps, GLuint count, GLint x, GLint y, GLubyte rgba[NUM_CHANNELS]) @@ -158,6 +159,7 @@ write_mono_row_ub(struct softpipe_surface *sps, GLuint count, GLint x, GLint y, GET_CURRENT_CONTEXT(ctx); xrb->Base.PutMonoRow(ctx, &xrb->Base, count, x, y, rgba, NULL); } +#endif /** @@ -185,7 +187,6 @@ xmesa_new_surface(GLcontext *ctx, struct xmesa_renderbuffer *xrb) sps->write_quad_f = write_quad_f; sps->write_quad_f_swz = write_quad_f_swz; sps->write_quad_ub = write_quad_ub; - sps->write_mono_row_ub = write_mono_row_ub; /* Note, the region we allocate doesn't actually have any storage * since we're drawing into an XImage or Pixmap. diff --git a/src/mesa/pipe/softpipe/sp_surface.h b/src/mesa/pipe/softpipe/sp_surface.h index e8466256dbd..6782bba376e 100644 --- a/src/mesa/pipe/softpipe/sp_surface.h +++ b/src/mesa/pipe/softpipe/sp_surface.h @@ -73,10 +73,6 @@ struct softpipe_surface { GLint x, GLint y, GLubyte (*rgba)[NUM_CHANNELS] ); - void (*write_mono_row_ub)( struct softpipe_surface *, - GLuint count, GLint x, GLint y, - GLubyte rgba[NUM_CHANNELS] ); - void (*read_quad_z)(struct softpipe_surface *, GLint x, GLint y, GLuint zzzz[QUAD_SIZE]); void (*write_quad_z)(struct softpipe_surface *, |