From daf1069c2768495bc3fa6508491b5c0e7adab2da Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Wed, 26 May 2010 20:46:28 +0000 Subject: [PATCH] Fix variable types. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5483 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoOGL/Src/Render.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp index 05e3ccac04..3c25772ac9 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp @@ -98,7 +98,9 @@ static bool s_bHaveCoverageMSAA = false; static u32 s_blendMode; static volatile bool s_bScreenshot = false; +#if defined(HAVE_WX) && HAVE_WX static Common::Thread *scrshotThread = 0; +#endif static Common::CriticalSection s_criticalScreenshot; static std::string s_sScreenshotName; @@ -114,8 +116,8 @@ static int m_FrameBufferHeight; static GLuint s_tempScreenshotFramebuffer = 0; -static int s_XFB_width; -static int s_XFB_height; +static unsigned int s_XFB_width; +static unsigned int s_XFB_height; static float xScale; static float yScale; @@ -123,9 +125,6 @@ static float yScale; static int EFBxScale; static int EFByScale; -static int s_recordWidth; -static int s_recordHeight; - static bool s_skipSwap = false; #ifndef _WIN32