mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 03:46:50 +01:00
Added optional GLES2_LOAD_EXT_NO_DLCFN_AVAILABLE define for the rasterizer storage.
This commit is contained in:
parent
1d22053020
commit
cdb3f03e61
@ -100,6 +100,7 @@ GLuint RasterizerStorageGLES2::system_fbo = 0;
|
||||
//void *glRenderbufferStorageMultisampleAPPLE;
|
||||
//void *glResolveMultisampleFramebufferAPPLE;
|
||||
#define glRenderbufferStorageMultisample glRenderbufferStorageMultisampleAPPLE
|
||||
|
||||
#elif defined(ANDROID_ENABLED)
|
||||
|
||||
#include <dlfcn.h> // needed to load extensions
|
||||
@ -110,6 +111,14 @@ PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT
|
||||
#define glRenderbufferStorageMultisample glRenderbufferStorageMultisampleEXT
|
||||
#define glFramebufferTexture2DMultisample glFramebufferTexture2DMultisampleEXT
|
||||
|
||||
#elif defined(GLES2_LOAD_EXT_NO_DLCFN_AVAILABLE)
|
||||
|
||||
#include <GLES2/gl2ext.h>
|
||||
PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT;
|
||||
PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT;
|
||||
#define glRenderbufferStorageMultisample glRenderbufferStorageMultisampleEXT
|
||||
#define glFramebufferTexture2DMultisample glFramebufferTexture2DMultisampleEXT
|
||||
|
||||
#elif defined(UWP_ENABLED)
|
||||
#include <GLES2/gl2ext.h>
|
||||
#define glRenderbufferStorageMultisample glRenderbufferStorageMultisampleANGLE
|
||||
|
Loading…
Reference in New Issue
Block a user