Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1395)

Unified Diff: mojo/gles2/mgl_impl.cc

Issue 1354353002: Add GetProcAddress to OpenGL control interface (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Review feedback addressed Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/gles2/mgl_impl.cc
diff --git a/mojo/gles2/mgl_impl.cc b/mojo/gles2/mgl_impl.cc
index 0423a69678cd23fd8656d5524bb52ea634df47a1..f51abafe0cbc4911d8047bbae61086706ff3fdd0 100644
--- a/mojo/gles2/mgl_impl.cc
+++ b/mojo/gles2/mgl_impl.cc
@@ -49,4 +49,8 @@ void MGLSwapBuffers() {
return gles2::ControlThunksImpl::Get()->SwapBuffers();
}
+void* MGLGetProcAddress(const char* procname) {
+ return gles2::ControlThunksImpl::Get()->GetProcAddress(procname);
+}
+
} // extern "C"

Powered by Google App Engine
This is Rietveld 408576698