summaryrefslogtreecommitdiff
path: root/src/render/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-23 12:07:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-23 12:08:54 +0300
commit906332df8779bca71641c6bcdc84d04a1de6d2eb (patch)
tree3571dab23663919ed9c6536c19ba14e850ab4581 /src/render/graphics.h
parentdee232be436909e84a39e9bc3e8949dbaba38e05 (diff)
downloadmanaverse-906332df8779bca71641c6bcdc84d04a1de6d2eb.tar.gz
manaverse-906332df8779bca71641c6bcdc84d04a1de6d2eb.tar.bz2
manaverse-906332df8779bca71641c6bcdc84d04a1de6d2eb.tar.xz
manaverse-906332df8779bca71641c6bcdc84d04a1de6d2eb.zip
Add functions for resize batch size (OpenGL).
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r--src/render/graphics.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h
index 58e08888a..90029717e 100644
--- a/src/render/graphics.h
+++ b/src/render/graphics.h
@@ -295,7 +295,7 @@ class Graphics
const std::string &getName() const A_WARN_UNUSED
{ return mName; }
- virtual void initArrays()
+ virtual void initArrays(const int vertCount A_UNUSED)
{ }
virtual void setColor(const Color &color)
@@ -447,6 +447,9 @@ class Graphics
virtual void clearScreen() const
{ }
+ virtual void deleteArrays()
+ { }
+
int mWidth;
int mHeight;
int mActualWidth;