diff options
author | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-20 02:20:49 +0000 |
---|---|---|
committer | gman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-20 02:20:49 +0000 |
commit | 9a4c6f7d8ca3b3c998f427bded6e4df318168de9 (patch) | |
tree | e0ad97246f2a1397a215dfffe4c726d0e9b992a1 /gpu/gles2_conform_support/egl | |
parent | e8a0dda4df26eb878290dfdaaa610f1c1fabae3e (diff) | |
download | chromium_src-9a4c6f7d8ca3b3c998f427bded6e4df318168de9.zip chromium_src-9a4c6f7d8ca3b3c998f427bded6e4df318168de9.tar.gz chromium_src-9a4c6f7d8ca3b3c998f427bded6e4df318168de9.tar.bz2 |
Add support for eglGetProcAddress
This is for the GLES2 conformance tests
BUG=none
R=apatrick@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11418030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168705 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/gles2_conform_support/egl')
-rw-r--r-- | gpu/gles2_conform_support/egl/egl.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gpu/gles2_conform_support/egl/egl.cc b/gpu/gles2_conform_support/egl/egl.cc index 443aeaf..3827229 100644 --- a/gpu/gles2_conform_support/egl/egl.cc +++ b/gpu/gles2_conform_support/egl/egl.cc @@ -5,6 +5,7 @@ #include <EGL/egl.h> #include "base/command_line.h" +#include "gpu/command_buffer/client/gles2_lib.h" #include "gpu/gles2_conform_support/egl/display.h" #include "ui/gl/gl_context.h" #include "ui/gl/gl_surface.h" @@ -398,6 +399,6 @@ EGLBoolean eglCopyBuffers(EGLDisplay dpy, /* Now, define eglGetProcAddress using the generic function ptr. type */ __eglMustCastToProperFunctionPointerType eglGetProcAddress(const char* procname) { - return NULL; + return gles2::GetGLFunctionPointer(procname); } } // extern "C" |