mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 10:00:42 +02:00
25 lines
477 B
C++
25 lines
477 B
C++
#include <cstdio>
|
|
#include <dlfcn.h>
|
|
|
|
#define GL_GLEXT_PROTOTYPES 1
|
|
#define GLX_GLXEXT_PROTOTYPES 1
|
|
|
|
#include "glcorearb.h"
|
|
|
|
#include <GL/glx.h>
|
|
#include <GL/glxext.h>
|
|
#include <GL/gl.h>
|
|
#include <GL/glext.h>
|
|
|
|
#include "Thunk.h"
|
|
|
|
#define dlsym(so, name) (void*)glXGetProcAddress((const GLubyte*)name)
|
|
#include "libGL_initializers.inl"
|
|
#include "libGL_forwards.inl"
|
|
|
|
static ExportEntry exports[] = {
|
|
#include "libGL_thunkmap.inl"
|
|
{ nullptr, nullptr }
|
|
};
|
|
|
|
EXPORTS(libGL)
|