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