mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2024-12-12 13:42:21 +00:00
a couple linux specific fixes to the bsd patch
This commit is contained in:
parent
b9bc901546
commit
9a15b89e99
2 changed files with 1 additions and 9 deletions
|
@ -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
|
||||||
**
|
**
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue