summaryrefslogtreecommitdiffstats
path: root/chromium/ui/gl/gl_context_stub.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/gl/gl_context_stub.cc')
-rw-r--r--chromium/ui/gl/gl_context_stub.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/ui/gl/gl_context_stub.cc b/chromium/ui/gl/gl_context_stub.cc
index 56fb3c72efb..faf957b1e77 100644
--- a/chromium/ui/gl/gl_context_stub.cc
+++ b/chromium/ui/gl/gl_context_stub.cc
@@ -17,6 +17,7 @@ void GLContextStub::Destroy() {}
bool GLContextStub::MakeCurrent(GLSurface* surface) {
SetCurrent(surface);
+ SetRealGLApi();
return true;
}
@@ -39,6 +40,10 @@ std::string GLContextStub::GetExtensions() {
return std::string();
}
+std::string GLContextStub::GetGLRenderer() {
+ return std::string("CHROMIUM");
+}
+
GLContextStub::~GLContextStub() {}
} // namespace gfx