aboutsummaryrefslogtreecommitdiff
path: root/src/core/GLES_COMPUTE/OpenGLES.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/GLES_COMPUTE/OpenGLES.cpp')
-rw-r--r--src/core/GLES_COMPUTE/OpenGLES.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/core/GLES_COMPUTE/OpenGLES.cpp b/src/core/GLES_COMPUTE/OpenGLES.cpp
index fdfc085db2..d2539d0775 100644
--- a/src/core/GLES_COMPUTE/OpenGLES.cpp
+++ b/src/core/GLES_COMPUTE/OpenGLES.cpp
@@ -128,15 +128,7 @@ private:
}
}
- if(glesv3_handle != nullptr)
- {
- dlclose(glesv3_handle);
- }
- if(glesv2_handle != nullptr)
- {
- dlclose(glesv2_handle);
- }
- dlclose(egl_handle);
+ //Don't call dlclose(handle) or all the symbols will be unloaded !
}
}
bool _initialized = false;