diff --git a/drivers/gles2/rasterizer_storage_gles2.cpp b/drivers/gles2/rasterizer_storage_gles2.cpp index bd1e62fc5..8ece45218 100644 --- a/drivers/gles2/rasterizer_storage_gles2.cpp +++ b/drivers/gles2/rasterizer_storage_gles2.cpp @@ -92,19 +92,18 @@ GLuint RasterizerStorageGLES2::system_fbo = 0; #ifndef GLES_OVER_GL #define glClearDepth glClearDepthf -// enable extensions manually for android and ios -#ifndef UWP_ENABLED -#include // needed to load extensions -#endif - #ifdef IPHONE_ENABLED +#include // needed to load extensions + #include //void *glRenderbufferStorageMultisampleAPPLE; //void *glResolveMultisampleFramebufferAPPLE; #define glRenderbufferStorageMultisample glRenderbufferStorageMultisampleAPPLE #elif defined(ANDROID_ENABLED) +#include // needed to load extensions + #include PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT;