summaryrefslogtreecommitdiff
path: root/xdriinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'xdriinfo.c')
-rw-r--r--xdriinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xdriinfo.c b/xdriinfo.c
index ebd368b..75ab773 100644
--- a/xdriinfo.c
+++ b/xdriinfo.c
@@ -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;