From 906332df8779bca71641c6bcdc84d04a1de6d2eb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 23 May 2014 12:07:25 +0300 Subject: Add functions for resize batch size (OpenGL). --- src/render/graphics.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/render/graphics.h') 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; -- cgit v1.2.3-70-g09d2