mirror of
https://github.com/MobileGL-Dev/MobileGlues.git
synced 2025-09-24 03:31:43 -04:00
fix: add missing init_target_gles() decl, remove
duplicate glXGetProcAddress implementation
This commit is contained in:
parent
a8bad9ec73
commit
a8f7727ba5
@ -70,4 +70,6 @@ GLAPI GLAPIENTRY type name(__VA_ARGS__) { \
|
||||
|
||||
#define LOAD_EGL(name) LOAD_LIB(egl, name)
|
||||
|
||||
void init_target_gles();
|
||||
|
||||
#endif // _MOBILEGLUES_LOADER_H_
|
||||
|
@ -6,7 +6,7 @@
|
||||
#define FOLD_CRAFT_LAUNCHER_GLES3_H
|
||||
|
||||
#include <GLES3/gl32.h>
|
||||
#include "GL/gl.h"
|
||||
#include "gl/gl.h"
|
||||
|
||||
struct es3_functions_t
|
||||
{
|
||||
|
@ -493,11 +493,11 @@ __eglMustCastToProperFunctionPointerType posthook(const char *procname) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY glXGetProcAddress (const char *procname) {
|
||||
__android_log_print(ANDROID_LOG_VERBOSE, RENDERERNAME,
|
||||
"%s @ %s(%s)", RENDERERNAME, __FUNCTION__, procname);
|
||||
return eglGetProcAddress(procname);
|
||||
}
|
||||
//EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY glXGetProcAddress (const char *procname) {
|
||||
// __android_log_print(ANDROID_LOG_VERBOSE, RENDERERNAME,
|
||||
// "%s @ %s(%s)", RENDERERNAME, __FUNCTION__, procname);
|
||||
// return eglGetProcAddress(procname);
|
||||
//}
|
||||
|
||||
EGLAPI __eglMustCastToProperFunctionPointerType EGLAPIENTRY eglGetProcAddress (const char *procname) {
|
||||
__android_log_print(ANDROID_LOG_VERBOSE, RENDERERNAME,
|
||||
|
Loading…
x
Reference in New Issue
Block a user