diff options
author | Eugene Sandulenko | 2010-08-10 12:16:31 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-10-12 22:38:23 +0000 |
commit | ad5b74c9de1eb3d6eda91e1bf21b24c87a78391e (patch) | |
tree | 8e2591e31c02ba29ad6c6927fbf1a0a4292973e0 /engines/sword25/gfx/opengl/openglgfx.h | |
parent | ab85540a1bb59d7f69b89868805d1fe2a2adc89c (diff) | |
download | scummvm-rg350-ad5b74c9de1eb3d6eda91e1bf21b24c87a78391e.tar.gz scummvm-rg350-ad5b74c9de1eb3d6eda91e1bf21b24c87a78391e.tar.bz2 scummvm-rg350-ad5b74c9de1eb3d6eda91e1bf21b24c87a78391e.zip |
SWORD25: Clean compile!
Under MinGW, with OpenGL and tinyxml.
svn-id: r53225
Diffstat (limited to 'engines/sword25/gfx/opengl/openglgfx.h')
-rw-r--r-- | engines/sword25/gfx/opengl/openglgfx.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/engines/sword25/gfx/opengl/openglgfx.h b/engines/sword25/gfx/opengl/openglgfx.h index 5a7ca8a85e..ae56ff7fe3 100644 --- a/engines/sword25/gfx/opengl/openglgfx.h +++ b/engines/sword25/gfx/opengl/openglgfx.h @@ -84,7 +84,7 @@ public: virtual bool GetVsync() const; virtual bool Fill(const BS_Rect *FillRectPtr = 0, unsigned int Color = BS_RGB(0, 0, 0)); - virtual bool GetScreenshot(unsigned int &Width, unsigned int &Height, Common::Array<unsigned int> & Data); + virtual bool GetScreenshot(unsigned int &Width, unsigned int &Height, byte **Data); // Resource-Managing Methoden // -------------------------- @@ -112,7 +112,8 @@ private: DebugLine(const BS_Vertex &_Start, const BS_Vertex &_End, unsigned int _Color) : Start(_Start), End(_End), - Color(_Color) {}; + Color(_Color) {} + DebugLine() {} BS_Vertex Start; BS_Vertex End; @@ -121,9 +122,9 @@ private: Common::Array<DebugLine> m_DebugLines; - static bool ReadFramebufferContents(unsigned int Width, unsigned int Height, Common::Array<unsigned int> & Data); - static void ReverseRGBAComponentOrder(Common::Array<unsigned int> & Data); - static void FlipImagedataVertical(unsigned int Width, unsigned int Height, Common::Array<unsigned int> & Data); + static bool ReadFramebufferContents(unsigned int Width, unsigned int Height, byte **Data); + static void ReverseRGBAComponentOrder(byte *Data, uint size); + static void FlipImagedataVertical(unsigned int Width, unsigned int Height, byte *Data); }; } // End of namespace Sword25 |