diff options
Diffstat (limited to 'ui/gl/gl_surface_osmesa.h')
-rw-r--r-- | ui/gl/gl_surface_osmesa.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gl/gl_surface_osmesa.h b/ui/gl/gl_surface_osmesa.h index cd65e65..1aa90bd 100644 --- a/ui/gl/gl_surface_osmesa.h +++ b/ui/gl/gl_surface_osmesa.h @@ -25,7 +25,7 @@ class GL_EXPORT GLSurfaceOSMesa : public GLSurface { void Destroy() override; bool Resize(const gfx::Size& new_size) override; bool IsOffscreen() override; - bool SwapBuffers() override; + gfx::SwapResult SwapBuffers() override; gfx::Size GetSize() override; void* GetHandle() override; unsigned GetFormat() override; @@ -49,7 +49,7 @@ class GLSurfaceOSMesaHeadless : public GLSurfaceOSMesa { explicit GLSurfaceOSMesaHeadless(); bool IsOffscreen() override; - bool SwapBuffers() override; + gfx::SwapResult SwapBuffers() override; protected: ~GLSurfaceOSMesaHeadless() override; |