mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
minor update
This commit is contained in:
parent
d3be982783
commit
d4ece7b2f4
1 changed files with 4 additions and 2 deletions
|
|
@ -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++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue