Index: ui/gl/gl_implementation_win.cc |
diff --git a/ui/gl/gl_implementation_win.cc b/ui/gl/gl_implementation_win.cc |
index f0c562648bccbce37f5e111b785b669d67597423..2851a6108e79d51fe3ceb97684f8fffe06ec6be5 100644 |
--- a/ui/gl/gl_implementation_win.cc |
+++ b/ui/gl/gl_implementation_win.cc |
@@ -274,4 +274,16 @@ void ClearGLBindings() { |
UnloadGLNativeLibraries(); |
} |
+bool GetGLWindowSystemBindingInfo(GLWindowSystemBindingInfo* info) { |
+ switch (GetGLImplementation()) { |
+ case kGLImplementationDesktopGL: |
+ return GetGLWindowSystemBindingInfoWGL(info); |
+ case kGLImplementationEGLGLES2: |
+ return GetGLWindowSystemBindingInfoEGL(info); |
+ default: |
+ return false; |
+ } |
+ return false; |
+} |
+ |
} // namespace gfx |