summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/Plugins/Plugin_VideoOGL/Src/Render.cpp9
1 files 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