aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx/opengl/glvectorimageblit.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2010-08-14 19:49:57 +0000
committerEugene Sandulenko2010-10-12 22:40:20 +0000
commit23eace8f7dda2163f2b2aa407e102516b8f9f8ac (patch)
tree159e40c0b70a4e9f9b1939f3a80f7dc0ee7c65da /engines/sword25/gfx/opengl/glvectorimageblit.cpp
parentf010c4e2ad16e862a943726014fadb992f0183f4 (diff)
downloadscummvm-rg350-23eace8f7dda2163f2b2aa407e102516b8f9f8ac.tar.gz
scummvm-rg350-23eace8f7dda2163f2b2aa407e102516b8f9f8ac.tar.bz2
scummvm-rg350-23eace8f7dda2163f2b2aa407e102516b8f9f8ac.zip
SWORD25: Next step of graphics code conversion.
Now it does not depend on glsprite library and may even show something svn-id: r53229
Diffstat (limited to 'engines/sword25/gfx/opengl/glvectorimageblit.cpp')
-rw-r--r--engines/sword25/gfx/opengl/glvectorimageblit.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/sword25/gfx/opengl/glvectorimageblit.cpp b/engines/sword25/gfx/opengl/glvectorimageblit.cpp
index 5689fdfcba..35b6c2ba5f 100644
--- a/engines/sword25/gfx/opengl/glvectorimageblit.cpp
+++ b/engines/sword25/gfx/opengl/glvectorimageblit.cpp
@@ -61,6 +61,7 @@ bool BS_VectorImage::Blit(int PosX, int PosY,
BS_Rect *pPartRect,
unsigned int Color,
int Width, int Height) {
+#if 0
static BS_VectorImageRenderer VectorImageRenderer;
static byte *PixelData;
static GLS_Sprite Sprite = 0;
@@ -138,8 +139,13 @@ bool BS_VectorImage::Blit(int PosX, int PosY,
(Flipping & BS_Image::FLIP_H) ? GLS_True : GLS_False,
1.0f, 1.0f);
if (Result != GLS_OK) BS_LOG_ERRORLN("GLS_Blit() failed. Reason: %s", GLS_ResultString(Result));
+#else
+ warning("STUB: BS_VectorImage::Blit()");
- return Result == GLS_OK;
+ return true;
+#endif
+
+ return true;
}
} // End of namespace Sword25