summaryrefslogtreecommitdiffstats
path: root/opengl/libs/EGL
diff options
context:
space:
mode:
Diffstat (limited to 'opengl/libs/EGL')
-rw-r--r--opengl/libs/EGL/egl.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/opengl/libs/EGL/egl.cpp b/opengl/libs/EGL/egl.cpp
index 3f33b67..e35773e 100644
--- a/opengl/libs/EGL/egl.cpp
+++ b/opengl/libs/EGL/egl.cpp
@@ -530,13 +530,7 @@ EGLDisplay eglGetDisplay(NativeDisplayType display)
property_get("debug.egl.hw", value, "1");
if (atoi(value) != 0) {
cnx->hooks = &gHooks[IMPL_HARDWARE];
- property_get("debug.egl.profiler", value, "0");
- if (atoi(value) == 0) {
- cnx->dso = load_driver("libhgl.so", cnx->hooks);
- } else {
- LOGW("Using instrumented h/w OpenGL ES library");
- cnx->dso = load_driver("libhgld.so", cnx->hooks);
- }
+ cnx->dso = load_driver("libhgl.so", cnx->hooks);
} else {
LOGD("3D hardware acceleration is disabled");
}