mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 19:00:17 +02:00
30 lines
478 B
C++
30 lines
478 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 "thunks.inl"
|
|
#include "function_packs.inl"
|
|
#include "function_packs_public.inl"
|
|
|
|
typedef void voidFunc();
|
|
|
|
|
|
extern "C" {
|
|
voidFunc *eglGetProcAddress(const char *procname) {
|
|
// TODO: Fix this HACK
|
|
return glXGetProcAddress((const GLubyte*)procname);
|
|
}
|
|
}
|
|
|
|
LOAD_LIB(libEGL) |