diff options
-rw-r--r-- | ui/gfx/gl/gl_surface.cc | 5 | ||||
-rw-r--r-- | ui/gfx/gl/gl_surface.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ui/gfx/gl/gl_surface.cc b/ui/gfx/gl/gl_surface.cc index b1dd505..de4b8a2 100644 --- a/ui/gfx/gl/gl_surface.cc +++ b/ui/gfx/gl/gl_surface.cc @@ -6,6 +6,11 @@ namespace gfx { +bool GLSurface::Initialize() +{ + return true; +} + unsigned int GLSurface::GetBackingFrameBufferObject() { return 0; } diff --git a/ui/gfx/gl/gl_surface.h b/ui/gfx/gl/gl_surface.h index dde0883..ca8afd1 100644 --- a/ui/gfx/gl/gl_surface.h +++ b/ui/gfx/gl/gl_surface.h @@ -23,7 +23,7 @@ class GLSurface { // EGL surface associated to be recreated without destroying the associated // context. The implementation of this function for other GLSurface derived // classes is in a pending changelist. - virtual bool Initialize() { return true; } + virtual bool Initialize(); // Destroys the surface. virtual void Destroy() = 0; |