summaryrefslogtreecommitdiff
path: root/src/render/safeopenglgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-31 12:50:20 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-31 12:50:20 +0300
commit05451849f8cec9ed91a213d5020cf6406ba94feb (patch)
tree7e14bb29478f69f48d832caef670cef0e49b9c8a /src/render/safeopenglgraphics.h
parent0e3e3df8c385ed8ad6e4612570016ffae03169a6 (diff)
downloadmanaverse-05451849f8cec9ed91a213d5020cf6406ba94feb.tar.gz
manaverse-05451849f8cec9ed91a213d5020cf6406ba94feb.tar.bz2
manaverse-05451849f8cec9ed91a213d5020cf6406ba94feb.tar.xz
manaverse-05451849f8cec9ed91a213d5020cf6406ba94feb.zip
Improve drawNet in safeopenglgraphics.
Diffstat (limited to 'src/render/safeopenglgraphics.h')
-rw-r--r--src/render/safeopenglgraphics.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/safeopenglgraphics.h b/src/render/safeopenglgraphics.h
index 36ce27ded..c4bfd46de 100644
--- a/src/render/safeopenglgraphics.h
+++ b/src/render/safeopenglgraphics.h
@@ -59,6 +59,10 @@ class SafeOpenGLGraphics final : public Graphics
void drawImageRect(int x, int y, int w, int h,
const ImageRect &imgRect);
+ bool drawNet(const int x1, const int y1,
+ const int x2, const int y2,
+ const int width, const int height) override final;
+
protected:
void setTexturingAndBlending(const bool enable);