summaryrefslogtreecommitdiff
path: root/progs/samples
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2001-03-19 13:27:15 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2001-03-19 13:27:15 +0000
commit92eac1c76517b1df8183749a0d056ab0618c3f25 (patch)
treea267ba2c9d7993529258a446860ee20a2bf4ffc7 /progs/samples
parentb048d8e084597e43af277f77f3c968ce2d5305c6 (diff)
fix cast
Diffstat (limited to 'progs/samples')
-rw-r--r--progs/samples/sphere.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/samples/sphere.c b/progs/samples/sphere.c
index 3605df2380..cbe2cb1868 100644
--- a/progs/samples/sphere.c
+++ b/progs/samples/sphere.c
@@ -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));