diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-31 12:50:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-31 12:50:20 +0300 |
commit | 05451849f8cec9ed91a213d5020cf6406ba94feb (patch) | |
tree | 7e14bb29478f69f48d832caef670cef0e49b9c8a /src/render/safeopenglgraphics.h | |
parent | 0e3e3df8c385ed8ad6e4612570016ffae03169a6 (diff) | |
download | manaplus-05451849f8cec9ed91a213d5020cf6406ba94feb.tar.gz manaplus-05451849f8cec9ed91a213d5020cf6406ba94feb.tar.bz2 manaplus-05451849f8cec9ed91a213d5020cf6406ba94feb.tar.xz manaplus-05451849f8cec9ed91a213d5020cf6406ba94feb.zip |
Improve drawNet in safeopenglgraphics.
Diffstat (limited to 'src/render/safeopenglgraphics.h')
-rw-r--r-- | src/render/safeopenglgraphics.h | 4 |
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); |