summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/gfx/gl/gl_context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/gfx/gl/gl_context.h b/app/gfx/gl/gl_context.h
index 5264c4a..865af76 100644
--- a/app/gfx/gl/gl_context.h
+++ b/app/gfx/gl/gl_context.h
@@ -36,6 +36,11 @@ class GLContext {
// contexts.
virtual bool SwapBuffers() = 0;
+ // Set the size of the back buffer.
+ // FIXME(backer): Currently a NOP. Once we have an implementation for each
+ // backend we can switch it to pure virtual.
+ virtual void SetSize(gfx::Size) {}
+
// Get the size of the back buffer.
virtual gfx::Size GetSize() = 0;