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

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: Use deps instead of source 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
« no previous file with comments | « mojo/gles2/control_thunks_impl.cc ('k') | mojo/gles2/mgl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/gles2/mgl_impl.cc
diff --git a/mojo/gles2/mgl_impl.cc b/mojo/gles2/mgl_impl.cc
index 0423a69678cd23fd8656d5524bb52ea634df47a1..7cad4699cbe4e14de1e79a10e5d3a1d1d8c109cf 100644
--- a/mojo/gles2/mgl_impl.cc
+++ b/mojo/gles2/mgl_impl.cc
@@ -49,4 +49,8 @@ void MGLSwapBuffers() {
return gles2::ControlThunksImpl::Get()->SwapBuffers();
}
+MGLMustCastToProperFunctionPointerType MGLGetProcAddress(const char* procname) {
+ return gles2::ControlThunksImpl::Get()->GetProcAddress(procname);
+}
+
} // extern "C"
« no previous file with comments | « mojo/gles2/control_thunks_impl.cc ('k') | mojo/gles2/mgl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698