fix cast
authorAlan Hourihane <alanh@tungstengraphics.com>
Mon, 19 Mar 2001 13:27:15 +0000 (13:27 +0000)
committerAlan Hourihane <alanh@tungstengraphics.com>
Mon, 19 Mar 2001 13:27:15 +0000 (13:27 +0000)
progs/samples/sphere.c

index 3605df23801105783840d3f743ed18aac81a2fdb..cbe2cb1868b22e99d5c26a83309100060e658074 100644 (file)
@@ -692,7 +692,7 @@ void Init(void)
     float lmodel_twoside[] = {GL_TRUE};
     int w, h;
     GLenum format;
-    char *image;
+    GLubyte *image;
 
     printf("GL_RENDERER = %s\n", (char *) glGetString(GL_RENDERER));