From 1d2205302014a58ae65746166f100a3a31361f43 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 17 Feb 2024 18:57:33 +0100 Subject: [PATCH] Moved dlfcn.h include in RasterizerStorageGLES2 to it's proper place according to the comment above it. --- drivers/gles2/rasterizer_storage_gles2.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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;