summaryrefslogtreecommitdiffstats
path: root/app/gfx/gl/gl_context_osmesa.cc
diff options
context:
space:
mode:
Diffstat (limited to 'app/gfx/gl/gl_context_osmesa.cc')
-rw-r--r--app/gfx/gl/gl_context_osmesa.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/gfx/gl/gl_context_osmesa.cc b/app/gfx/gl/gl_context_osmesa.cc
index 28eb170..9b73195 100644
--- a/app/gfx/gl/gl_context_osmesa.cc
+++ b/app/gfx/gl/gl_context_osmesa.cc
@@ -80,8 +80,9 @@ bool OSMesaGLContext::IsOffscreen() {
return true;
}
-void OSMesaGLContext::SwapBuffers() {
+bool OSMesaGLContext::SwapBuffers() {
NOTREACHED() << "Should not call SwapBuffers on an OSMesaGLContext.";
+ return false;
}
gfx::Size OSMesaGLContext::GetSize() {