summaryrefslogtreecommitdiffstats
path: root/gpu/gles2_conform_support/egl
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/gles2_conform_support/egl')
-rw-r--r--gpu/gles2_conform_support/egl/egl.cc3
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"