diff options
Diffstat (limited to 'ui/gfx/gl/gl_context_wgl.h')
-rw-r--r-- | ui/gfx/gl/gl_context_wgl.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/gfx/gl/gl_context_wgl.h b/ui/gfx/gl/gl_context_wgl.h index f48a564..3684c96 100644 --- a/ui/gfx/gl/gl_context_wgl.h +++ b/ui/gfx/gl/gl_context_wgl.h @@ -17,12 +17,11 @@ class GLSurface; // This class is a wrapper around a GL context. class GLContextWGL : public GLContext { public: - GLContextWGL(); + explicit GLContextWGL(GLShareGroup* share_group); virtual ~GLContextWGL(); // Implement GLContext. - virtual bool Initialize(GLContext* shared_context, - GLSurface* compatible_surface); + virtual bool Initialize(GLSurface* compatible_surface); virtual void Destroy(); virtual bool MakeCurrent(GLSurface* surface); virtual void ReleaseCurrent(GLSurface* surface); |