diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-05-07 17:06:49 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-05-07 17:06:49 +0000 |
commit | 6f3d16c64aee2ef0eb94aa0e4ab1ce53fd4a5579 (patch) | |
tree | 967bda38ba36c242b9304e22b8538b22acaddaa5 /progs/xdemos | |
parent | 42fa81275c67d7d1ad8d255120af0ffeeb46b963 (diff) |
assorted warning clean-ups for x86_64, etc (Mikko T.)
Diffstat (limited to 'progs/xdemos')
-rw-r--r-- | progs/xdemos/glxgears_fbconfig.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/progs/xdemos/glxgears_fbconfig.c b/progs/xdemos/glxgears_fbconfig.c index cadcaeccf8..ba692b4163 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", |