mesa: Replace void * arithmetic.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Fri, 27 Jun 2008 11:56:49 +0000 (20:56 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Fri, 27 Jun 2008 11:56:49 +0000 (20:56 +0900)
src/mesa/state_tracker/st_cb_accum.c

index 809a906ba357e089358b4195fb3aecce468695a1..2283905662fdcc097a9e10ce8797940fb3e07bbd 100644 (file)
@@ -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);