summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-13 19:30:26 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-13 19:30:26 +0300
commit5f69585da6bd61cb1191ea33ae9d92ea7460c1bd (patch)
tree6e26a06b1ec2a68ef7d872188ca7b4a9e4d909c0 /src/render/modernopenglgraphics.cpp
parentd607fc8b853adb02827c10cef32d15f5f152a09d (diff)
downloadManaVerse-5f69585da6bd61cb1191ea33ae9d92ea7460c1bd.tar.gz
ManaVerse-5f69585da6bd61cb1191ea33ae9d92ea7460c1bd.tar.bz2
ManaVerse-5f69585da6bd61cb1191ea33ae9d92ea7460c1bd.tar.xz
ManaVerse-5f69585da6bd61cb1191ea33ae9d92ea7460c1bd.zip
In modernopengl add calcimagerect.
This is last function for cached draw, now modernopengl can be used for all
Diffstat (limited to 'src/render/modernopenglgraphics.cpp')
-rw-r--r--src/render/modernopenglgraphics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/modernopenglgraphics.cpp b/src/render/modernopenglgraphics.cpp
index ea8447c33..12a07b191 100644
--- a/src/render/modernopenglgraphics.cpp
+++ b/src/render/modernopenglgraphics.cpp
@@ -1190,6 +1190,7 @@ void ModernOpenGLGraphics::calcImageRect(ImageVertexes *const vert,
const int w, const int h,
const ImageRect &imgRect)
{
+ #include "render/graphics_calcImageRect.hpp"
}
void ModernOpenGLGraphics::clearScreen() const