summaryrefslogtreecommitdiff
path: root/src/safeopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-17 21:20:39 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-18 15:08:47 +0300
commit09ec2b1ecc1a812e03878ccc07708a0aad02896a (patch)
treeefc3406706d2471d22cc427299dd48455bf8048a /src/safeopenglgraphics.cpp
parent5c278653704d4f4b90ebc99bcef2f37c5a208a72 (diff)
downloadmanaverse-09ec2b1ecc1a812e03878ccc07708a0aad02896a.tar.gz
manaverse-09ec2b1ecc1a812e03878ccc07708a0aad02896a.tar.bz2
manaverse-09ec2b1ecc1a812e03878ccc07708a0aad02896a.tar.xz
manaverse-09ec2b1ecc1a812e03878ccc07708a0aad02896a.zip
Split from Graphics SDL related code into SDLGraphics.
Diffstat (limited to 'src/safeopenglgraphics.cpp')
-rw-r--r--src/safeopenglgraphics.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/safeopenglgraphics.cpp b/src/safeopenglgraphics.cpp
index 35748f539..2e8666e55 100644
--- a/src/safeopenglgraphics.cpp
+++ b/src/safeopenglgraphics.cpp
@@ -345,10 +345,28 @@ void SafeOpenGLGraphics::calcTile(ImageVertexes *const vert A_UNUSED,
{
}
+void SafeOpenGLGraphics::calcImagePattern(ImageVertexes *const vert,
+ const Image *const image,
+ const int x, const int y,
+ const int w, const int h) const
+{
+}
+
+void SafeOpenGLGraphics::calcImagePattern(ImageCollection *const vert,
+ const Image *const image,
+ const int x, const int y,
+ const int w, const int h) const
+{
+}
+
void SafeOpenGLGraphics::drawTile(const ImageVertexes *const vert A_UNUSED)
{
}
+void SafeOpenGLGraphics::drawTile(const ImageCollection *const vertCol)
+{
+}
+
void SafeOpenGLGraphics::updateScreen()
{
BLOCK_START("Graphics::updateScreen")
@@ -358,6 +376,13 @@ void SafeOpenGLGraphics::updateScreen()
BLOCK_END("Graphics::updateScreen")
}
+bool SafeOpenGLGraphics::calcWindow(ImageCollection *const vertCol,
+ const int x, const int y,
+ const int w, const int h,
+ const ImageRect &imgRect)
+{
+}
+
void SafeOpenGLGraphics::_beginDraw()
{
glMatrixMode(GL_TEXTURE);