added option "render to main window" to opengl video plugin

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@16 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
fires.gc
2008-07-17 10:17:19 +00:00
parent b503d023bc
commit ceb924f398
12 changed files with 23 additions and 17 deletions

View File

@ -71,7 +71,7 @@ bool Init()
if (initCount==0)
{
// create the window
if( !g_Config.renderInMainframe || g_VideoInitialize.pWindowHandle == NULL ) // ignore parent for this plugin
if( !g_Config.renderToMainframe || g_VideoInitialize.pWindowHandle == NULL ) // ignore parent for this plugin
{
g_VideoInitialize.pWindowHandle = (void*)EmuWindow::Create(NULL, g_hInstance, "Please wait...");
}