summaryrefslogtreecommitdiff
path: root/Source/Plugins
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2010-12-10 02:00:05 +0000
committerGlenn Rice <glennricster@gmail.com>2010-12-10 02:00:05 +0000
commit06013d5eec9a906f9d64df4de50a1ca2cc3adeea (patch)
treee18e7bb35e1b1acbcdf580254b7e7784fc7c0104 /Source/Plugins
parentc718d2e630224d817fcf2f91ebf5ad9e91591773 (diff)
Make the cmake check_lib macro more versatile. It first tries pkg-config, and if that fails it then check for libraries and required headers. Also cleaned up the output a little bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6544 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins')
-rw-r--r--Source/Plugins/Plugin_VideoOGL/Src/Render.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
index ff5722d7db..06f03848c7 100644
--- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
+++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
@@ -63,7 +63,7 @@
#ifdef _WIN32
#include "OS/Win32.h"
#endif
-#if defined _WIN32 || defined HAVE_AVCODEC
+#if defined _WIN32 || defined HAVE_LIBAV
#include "AVIDump.h"
#endif
@@ -83,7 +83,7 @@ CGprofile g_cgfProf;
RasterFont* s_pfont = NULL;
-#if defined _WIN32 || defined HAVE_AVCODEC
+#if defined _WIN32 || defined HAVE_LIBAV
static bool s_bAVIDumping = false;
#else
static FILE* f_pFrameDump;
@@ -492,7 +492,7 @@ Renderer::~Renderer()
delete g_framebuffer_manager;
-#if defined _WIN32 || defined HAVE_AVCODEC
+#if defined _WIN32 || defined HAVE_LIBAV
if(s_bAVIDumping)
AVIDump::Stop();
#else
@@ -1102,7 +1102,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons
}
// Frame dumps are handled a little differently in Windows
-#if defined _WIN32 || defined HAVE_AVCODEC
+#if defined _WIN32 || defined HAVE_LIBAV
if (g_ActiveConfig.bDumpFrames)
{
s_criticalScreenshot.Enter();