aboutsummaryrefslogtreecommitdiffstats
path: root/progs/xdemos
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-05-07 17:06:49 +0000
committerBrian Paul <[email protected]>2005-05-07 17:06:49 +0000
commit6f3d16c64aee2ef0eb94aa0e4ab1ce53fd4a5579 (patch)
tree967bda38ba36c242b9304e22b8538b22acaddaa5 /progs/xdemos
parent42fa81275c67d7d1ad8d255120af0ffeeb46b963 (diff)
assorted warning clean-ups for x86_64, etc (Mikko T.)
Diffstat (limited to 'progs/xdemos')
-rw-r--r--progs/xdemos/glxgears_fbconfig.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/progs/xdemos/glxgears_fbconfig.c b/progs/xdemos/glxgears_fbconfig.c
index cadcaeccf83..ba692b41630 100644
--- a/progs/xdemos/glxgears_fbconfig.c
+++ b/progs/xdemos/glxgears_fbconfig.c
@@ -360,19 +360,19 @@ init_fbconfig_functions(Display *dpy, int scrnum)
if ( glx_1_3_supported ) {
choose_fbconfig = (PFNGLXCHOOSEFBCONFIGSGIXPROC) glXGetProcAddressARB(
- (GLbyte *) "glXChooseFBConfig");
+ (GLubyte *) "glXChooseFBConfig");
get_visual_from_fbconfig = (PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) glXGetProcAddressARB(
- (GLbyte *) "glXGetVisualFromFBConfig");
+ (GLubyte *) "glXGetVisualFromFBConfig");
create_new_context = (PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) glXGetProcAddressARB(
- (GLbyte *) "glXCreateNewContext");
+ (GLubyte *) "glXCreateNewContext");
}
else if ( ext_version_supported ) {
choose_fbconfig = (PFNGLXCHOOSEFBCONFIGSGIXPROC) glXGetProcAddressARB(
- (GLbyte *) "glXChooseFBConfigSGIX");
+ (GLubyte *) "glXChooseFBConfigSGIX");
get_visual_from_fbconfig = (PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) glXGetProcAddressARB(
- (GLbyte *) "glXGetVisualFromFBConfigSGIX");
+ (GLubyte *) "glXGetVisualFromFBConfigSGIX");
create_new_context = (PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) glXGetProcAddressARB(
- (GLbyte *) "glXCreateContextWithConfigSGIX");
+ (GLubyte *) "glXCreateContextWithConfigSGIX");
}
else {
printf( "This demo requires either GLX 1.3 or %s be supported.\n",