From: José Fonseca Date: Fri, 27 Jun 2008 11:56:49 +0000 (+0900) Subject: mesa: Replace void * arithmetic. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb95b603efa3a70b73d28f0e3a7886fe736b9787;p=mesa.git mesa: Replace void * arithmetic. --- diff --git a/src/mesa/state_tracker/st_cb_accum.c b/src/mesa/state_tracker/st_cb_accum.c index 809a906ba35..2283905662f 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);