diff options
author | Matthias Hopf <mhopf@suse.de> | 2006-01-13 16:06:10 +0000 |
---|---|---|
committer | Matthias Hopf <mhopf@suse.de> | 2006-01-13 16:06:10 +0000 |
commit | 36c5e81eff50ef34f8b96014c8ee04c0563ab853 (patch) | |
tree | 3f0c0c9fb90046c2b402c3e3e813ceb65cffbe0b /xdriinfo.c | |
parent | d7bbc6892078a0541dd4302277eb67ff0bd90e0d (diff) |
Using glXGetProcAddressARB instead of glXGetProcAddress.
Casting to GLubyte* to remove warning.
Diffstat (limited to 'xdriinfo.c')
-rw-r--r-- | xdriinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -58,8 +58,8 @@ int main (int argc, char *argv[]) { char *funcArg = NULL; char *dpyName = NULL; - GetScreenDriver = (glXGetScreenDriver_t *)glXGetProcAddressARB ("glXGetScreenDriver"); - GetDriverConfig = (glXGetDriverConfig_t *)glXGetProcAddressARB ("glXGetDriverConfig"); + GetScreenDriver = (glXGetScreenDriver_t *)glXGetProcAddressARB ((const GLubyte *)"glXGetScreenDriver"); + GetDriverConfig = (glXGetDriverConfig_t *)glXGetProcAddressARB ((const GLubyte *)"glXGetDriverConfig"); if (!GetScreenDriver || !GetDriverConfig) { fprintf (stderr, "libGL is too old.\n"); return 1; |