aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx/opengl/swimage.h
diff options
context:
space:
mode:
authorEugene Sandulenko2010-08-06 10:59:50 +0000
committerEugene Sandulenko2010-10-12 22:30:57 +0000
commita17ec87b7dd09e7b251a3f578d1f788917550451 (patch)
treec77bdbb06d39d9a200b5e0514d2aedc7f43c8e28 /engines/sword25/gfx/opengl/swimage.h
parent6dcf9f0ee557e692df3c70a263ca35068ff45380 (diff)
downloadscummvm-rg350-a17ec87b7dd09e7b251a3f578d1f788917550451.tar.gz
scummvm-rg350-a17ec87b7dd09e7b251a3f578d1f788917550451.tar.bz2
scummvm-rg350-a17ec87b7dd09e7b251a3f578d1f788917550451.zip
SWORD25: Number of compilation and warning fixes
svn-id: r53219
Diffstat (limited to 'engines/sword25/gfx/opengl/swimage.h')
-rw-r--r--engines/sword25/gfx/opengl/swimage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword25/gfx/opengl/swimage.h b/engines/sword25/gfx/opengl/swimage.h
index cb27a089a1..bbab7c3833 100644
--- a/engines/sword25/gfx/opengl/swimage.h
+++ b/engines/sword25/gfx/opengl/swimage.h
@@ -53,7 +53,7 @@ namespace Sword25 {
class BS_SWImage : public BS_Image
{
public:
- BS_SWImage(const std::string & Filename, bool & Result);
+ BS_SWImage(const Common::String & Filename, bool & Result);
virtual ~BS_SWImage();
virtual int GetWidth() const { return m_Width; }
@@ -66,7 +66,7 @@ public:
unsigned int Color = BS_ARGB(255, 255, 255, 255),
int Width = -1, int Height = -1);
virtual bool Fill(const BS_Rect* FillRectPtr, unsigned int Color);
- virtual bool SetContent(const std::vector<unsigned char> & Pixeldata, unsigned int Offset, unsigned int Stride);
+ virtual bool SetContent(const byte *Pixeldata, unsigned int Offset, unsigned int Stride);
virtual unsigned int GetPixel(int X, int Y);
virtual bool IsBlitSource() const { return false; }