a couple linux specific fixes to the bsd patch

This commit is contained in:
Bill Currie 2002-01-07 04:41:51 +00:00
parent b9bc901546
commit 9a15b89e99
2 changed files with 1 additions and 9 deletions

View file

@ -2995,15 +2995,6 @@ void QGL_Shutdown( void )
qglXSwapBuffers = NULL; qglXSwapBuffers = NULL;
} }
#define GPA( a ) dlsym( glw_state.OpenGLLib, a )
void *qwglGetProcAddress(char *symbol)
{
if (glw_state.OpenGLLib)
return GPA ( symbol );
return NULL;
}
/* /*
** QGL_Init ** QGL_Init
** **

View file

@ -33,6 +33,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifdef __linux__ #ifdef __linux__
//#include <GL/fxmesa.h> //#include <GL/fxmesa.h>
#include <GL/glx.h> #include <GL/glx.h>
#include <dlfcn.h>
#ifndef __GLW_LINUX_H #ifndef __GLW_LINUX_H
#include "../linux/glw_linux.h" #include "../linux/glw_linux.h"
#endif #endif