mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-09 23:00:20 +02:00
28 lines
501 B
C++
28 lines
501 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>
|
|
|
|
#define dlsym(so, name) (void*)glXGetProcAddress((const GLubyte*)name)
|
|
|
|
#include "common/Host.h"
|
|
|
|
#include "ldr_ptrs.inl"
|
|
#include "function_unpacks.inl"
|
|
|
|
static ExportEntry exports[] = {
|
|
#include "tab_function_unpacks.inl"
|
|
{ nullptr, nullptr }
|
|
};
|
|
|
|
#include "ldr.inl"
|
|
|
|
EXPORTS(libGL) |