We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 119adff commit 0ccbc18Copy full SHA for 0ccbc18
libs/openFrameworks/gl/ofFbo.cpp
@@ -25,7 +25,7 @@ using namespace std;
25
26
*/
27
28
-#ifdef TARGET_OPENGLES
+#if defined(TARGET_OPENGLES) & !defined(TARGET_EMSCRIPTEN)
29
bool ofFbo::bglFunctionsInitialized=false;
30
31
typedef void (* glGenFramebuffersType) (GLsizei n, GLuint* framebuffers);
@@ -237,7 +237,7 @@ dirty(false),
237
defaultTextureIndex(0),
238
bIsAllocated(false)
239
{
240
241
if(!bglFunctionsInitialized){
242
if(ofIsGLProgrammableRenderer()){
243
glGenFramebuffers = (glGenFramebuffersType)dlsym(RTLD_DEFAULT, "glGenFramebuffers");
0 commit comments