summaryrefslogtreecommitdiffstats
path: root/opengl/system
diff options
context:
space:
mode:
authorDavid Turner <digit@android.com>2014-07-24 13:20:52 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-07-23 19:30:00 +0000
commit638ee524f83053613c47ddea22c4bf98a0175c2f (patch)
tree2adf093fd51653a1fdf160ca0053712b003ac73b /opengl/system
parent9b1e6c5a3ccd943b7158dce83387fbfcc1162d69 (diff)
parent7a2929cd6548693b581c17ba69308a49e03c56be (diff)
downloadandroid_device_generic_goldfish-638ee524f83053613c47ddea22c4bf98a0175c2f.tar.gz
android_device_generic_goldfish-638ee524f83053613c47ddea22c4bf98a0175c2f.tar.bz2
android_device_generic_goldfish-638ee524f83053613c47ddea22c4bf98a0175c2f.zip
Merge "Remove display initialization from eglGetProcAddress API"
Diffstat (limited to 'opengl/system')
-rw-r--r--opengl/system/egl/egl.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/opengl/system/egl/egl.cpp b/opengl/system/egl/egl.cpp
index 72e0037..daa52de 100644
--- a/opengl/system/egl/egl.cpp
+++ b/opengl/system/egl/egl.cpp
@@ -526,15 +526,6 @@ __eglMustCastToProperFunctionPointerType eglGetProcAddress(const char *procname)
}
}
- //
- // Make sure display is initialized before searching in client APIs
- //
- if (!s_display.initialized()) {
- if (!s_display.initialize(&s_eglIface)) {
- return NULL;
- }
- }
-
// look in gles client api's extensions table
return (__eglMustCastToProperFunctionPointerType)ClientAPIExts::getProcAddress(procname);