summaryrefslogtreecommitdiff
path: root/src/render/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-22 20:13:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-22 20:13:25 +0300
commitdee232be436909e84a39e9bc3e8949dbaba38e05 (patch)
tree7906ae43fad0126e4c2c7f78c80f67ff44064ae2 /src/render/graphics.h
parent08cf8a155aebaa2f148677f1fb766733e718440f (diff)
downloadplus-dee232be436909e84a39e9bc3e8949dbaba38e05.tar.gz
plus-dee232be436909e84a39e9bc3e8949dbaba38e05.tar.bz2
plus-dee232be436909e84a39e9bc3e8949dbaba38e05.tar.xz
plus-dee232be436909e84a39e9bc3e8949dbaba38e05.zip
Add to OpenGL renderers function for clear screen.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r--src/render/graphics.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h
index d26f8a770..58e08888a 100644
--- a/src/render/graphics.h
+++ b/src/render/graphics.h
@@ -444,6 +444,9 @@ class Graphics
virtual void endDraw()
{ }
+ virtual void clearScreen() const
+ { }
+
int mWidth;
int mHeight;
int mActualWidth;