summaryrefslogtreecommitdiffstats
path: root/ui/gfx/gl/gl_context_osmesa.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/gl/gl_context_osmesa.h')
-rw-r--r--ui/gfx/gl/gl_context_osmesa.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/gfx/gl/gl_context_osmesa.h b/ui/gfx/gl/gl_context_osmesa.h
index 6b4c0a9..65d6853 100644
--- a/ui/gfx/gl/gl_context_osmesa.h
+++ b/ui/gfx/gl/gl_context_osmesa.h
@@ -22,7 +22,8 @@ class GLContextOSMesa : public GLContext {
virtual ~GLContextOSMesa();
// Implement GLContext.
- virtual bool Initialize(GLSurface* compatible_surface);
+ virtual bool Initialize(
+ GLSurface* compatible_surface, GpuPreference gpu_preference);
virtual void Destroy();
virtual bool MakeCurrent(GLSurface* surface);
virtual void ReleaseCurrent(GLSurface* surface);