EGL update for SDL_ANGLE
This commit is contained in:
@@ -2730,6 +2730,19 @@ namespace lime {
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef NATIVE_TOOLKIT_SDL_ANGLE
|
||||
|
||||
OpenGLBindings::eglHandle = LoadLibrary (L"libegl.dll");
|
||||
|
||||
if (!OpenGLBindings::handle) {
|
||||
|
||||
result = false;
|
||||
return result;
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef NEED_EXTENSIONS
|
||||
#define GET_EXTENSION
|
||||
#include "OpenGLExtensions.h"
|
||||
|
||||
@@ -15,6 +15,10 @@ namespace lime {
|
||||
static int defaultRenderbuffer;
|
||||
static void* handle;
|
||||
|
||||
#ifdef NATIVE_TOOLKIT_SDL_ANGLE
|
||||
static void* eglHandle;
|
||||
#endif
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user