summaryrefslogtreecommitdiff
path: root/src/render/openglgraphicsdef.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-05 16:24:46 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-05 16:24:46 +0300
commit4cab6fc78e19799f223d951d5ccc9afb303b65f2 (patch)
tree5edbe1cacef94d9514b8d15773be5d00bc653331 /src/render/openglgraphicsdef.hpp
parent82359612155bd99dc2a629a4ad665252b571c122 (diff)
downloadplus-4cab6fc78e19799f223d951d5ccc9afb303b65f2.tar.gz
plus-4cab6fc78e19799f223d951d5ccc9afb303b65f2.tar.bz2
plus-4cab6fc78e19799f223d951d5ccc9afb303b65f2.tar.xz
plus-4cab6fc78e19799f223d951d5ccc9afb303b65f2.zip
Remove duplicate code in renderers.
Diffstat (limited to 'src/render/openglgraphicsdef.hpp')
-rw-r--r--src/render/openglgraphicsdef.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/openglgraphicsdef.hpp b/src/render/openglgraphicsdef.hpp
index e99c4cc62..4a48d919a 100644
--- a/src/render/openglgraphicsdef.hpp
+++ b/src/render/openglgraphicsdef.hpp
@@ -38,6 +38,10 @@ public:
void drawRectangle(const Rect &rect,
const bool filled);
+ bool drawNet(const int x1, const int y1,
+ const int x2, const int y2,
+ const int width, const int height) override final;
+
static void dumpSettings();
void prepareScreenshot() override final;