summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-27 20:56:49 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-27 20:56:49 +0900
commitfb95b603efa3a70b73d28f0e3a7886fe736b9787 (patch)
treeabaaa59c09ec07d6ce28ffb4027178617a64183b
parent4f45dbc6aa9b55d96cf6aeb32117e117e333b4a8 (diff)
mesa: Replace void * arithmetic.
-rw-r--r--src/mesa/state_tracker/st_cb_accum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_accum.c b/src/mesa/state_tracker/st_cb_accum.c
index 809a906ba3..2283905662 100644
--- a/src/mesa/state_tracker/st_cb_accum.c
+++ b/src/mesa/state_tracker/st_cb_accum.c
@@ -160,7 +160,7 @@ accum_mad(GLcontext *ctx, GLfloat scale, GLfloat bias,
{
struct pipe_screen *screen = ctx->st->pipe->screen;
struct pipe_surface *acc_ps = acc_strb->surface;
- GLvoid *map;
+ GLubyte *map;
map = screen->surface_map(screen, acc_ps,
PIPE_BUFFER_USAGE_CPU_WRITE);