mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-24 07:00:44 +02:00
23 lines
327 B
C++
23 lines
327 B
C++
#include <GL/glx.h>
|
|
#include <EGL/egl.h>
|
|
|
|
#include <stdio.h>
|
|
#include <cstring>
|
|
|
|
#include "Thunk.h"
|
|
|
|
LOAD_LIB(libEGL)
|
|
|
|
#include "libEGL_thunks.inl"
|
|
|
|
typedef void voidFunc();
|
|
|
|
|
|
extern "C" {
|
|
voidFunc *eglGetProcAddress(const char *procname) {
|
|
// TODO: Fix this HACK
|
|
return glXGetProcAddress((const GLubyte*)procname);
|
|
}
|
|
}
|
|
|