Fix noWX build, and lower thread priority for screenshots

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3913 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
sl1nk3.s
2009-07-31 01:55:26 +00:00
parent 96b03effcc
commit 7eed236df9
5 changed files with 23 additions and 7 deletions

View File

@ -320,6 +320,11 @@ void Initialize(void *init)
g_Config.GameIniLoad();
g_Config.UpdateProjectionHack();
#if defined(HAVE_WX) && HAVE_WX
//Enable support for PNG screenshots.
wxImage::AddHandler( new wxPNGHandler );
#endif
if (!OpenGL_Create(g_VideoInitialize, 640, 480)) // 640x480 will be the default if all else fails
{
g_VideoInitialize.pLog("Renderer::Create failed\n", TRUE);