mirror of
https://github.com/FEX-Emu/FEX.git
synced 2024-12-11 16:28:21 +00:00
2b4ec88dae
This follows discussions from #3413. Followup commits add clang-format file, script and blame ignore lists.
29 lines
425 B
C++
29 lines
425 B
C++
/*
|
|
$info$
|
|
tags: thunklibs|EGL
|
|
desc: Depends on glXGetProcAddress thunk
|
|
$end_info$
|
|
*/
|
|
|
|
#include <GL/glx.h>
|
|
#include <EGL/egl.h>
|
|
|
|
#include <stdio.h>
|
|
#include <cstring>
|
|
|
|
#include "common/Guest.h"
|
|
|
|
#include "thunkgen_guest_libEGL.inl"
|
|
|
|
typedef void voidFunc();
|
|
|
|
|
|
extern "C" {
|
|
voidFunc* eglGetProcAddress(const char* procname) {
|
|
// TODO: Fix this HACK
|
|
return glXGetProcAddress((const GLubyte*)procname);
|
|
}
|
|
}
|
|
|
|
LOAD_LIB(libEGL)
|