diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2001-11-21 17:21:41 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2001-11-21 17:21:41 +0000 |
commit | d4ece7b2f4c209b199ec4c5fcf15837b64ae2a8f (patch) | |
tree | f9224cf72c560386031238eb2a978ff66bef8155 /progs/tests/getprocaddress.c | |
parent | d3be9827839efc26516a0f90d7415e2d7b305fb0 (diff) |
minor update
Diffstat (limited to 'progs/tests/getprocaddress.c')
-rw-r--r-- | progs/tests/getprocaddress.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/progs/tests/getprocaddress.c b/progs/tests/getprocaddress.c index 5e05e5a864..5f4081b995 100644 --- a/progs/tests/getprocaddress.c +++ b/progs/tests/getprocaddress.c @@ -1,4 +1,4 @@ -/* $Id: getprocaddress.c,v 1.1 2001/11/18 23:16:56 brianp Exp $ */ +/* $Id: getprocaddress.c,v 1.2 2001/11/21 17:21:41 brianp Exp $ */ /* * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. @@ -25,6 +25,8 @@ * Test that glXGetProcAddress works. */ +#define GLX_GLXEXT_PROTOTYPES + #include <X11/Xlib.h> #include <X11/Xutil.h> #include <GL/gl.h> @@ -1060,7 +1062,7 @@ test_functions( const char *extensions ) passes = 0; } else if (doTests) { - void *p = (void *) glXGetProcAddress((const GLubyte *) functions[i]); + void *p = (void *) glXGetProcAddressARB((const GLubyte *) functions[i]); if (p) { passes++; } |