OSDN Git Service

char -> GLubyte
authorAlan Hourihane <alanh@tungstengraphics.com>
Tue, 30 Sep 2003 12:59:17 +0000 (12:59 +0000)
committerAlan Hourihane <alanh@tungstengraphics.com>
Tue, 30 Sep 2003 12:59:17 +0000 (12:59 +0000)
src/mesa/drivers/dri/gamma/gamma_vb.c

index 6178b37..2e2f9ed 100644 (file)
@@ -347,7 +347,7 @@ void gammaInitVB( GLcontext *ctx )
    gammaContextPtr gmesa = GAMMA_CONTEXT(ctx);
    GLuint size = TNL_CONTEXT(ctx)->vb.Size;
 
-   gmesa->verts = (char *)ALIGN_MALLOC(size * 4 * 16, 32);
+   gmesa->verts = (GLubyte *)ALIGN_MALLOC(size * 4 * 16, 32);
 
    {
       static int firsttime = 1;