mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
apply some speedup to dx11 plugin + some minor stuff
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5721 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -129,7 +129,7 @@ void GetDllInfo (PLUGIN_INFO* _PluginInfo)
|
||||
void SetDllGlobals(PLUGIN_GLOBALS* _pPluginGlobals)
|
||||
{
|
||||
globals = _pPluginGlobals;
|
||||
LogManager::SetInstance((LogManager *)globals->logManager);
|
||||
LogManager::SetInstance((LogManager*)globals->logManager);
|
||||
}
|
||||
|
||||
// This is used for the functions right below here which use wxwidgets
|
||||
@ -211,7 +211,7 @@ void Initialize(void *init)
|
||||
|
||||
g_Config.UpdateProjectionHack();
|
||||
#if defined(HAVE_WX) && HAVE_WX
|
||||
//Enable support for PNG screenshots.
|
||||
// Enable support for PNG screenshots.
|
||||
wxImage::AddHandler( new wxPNGHandler );
|
||||
#endif
|
||||
UpdateActiveConfig();
|
||||
@ -231,10 +231,11 @@ void Initialize(void *init)
|
||||
_pVideoInitialize->pXWindow = g_VideoInitialize.pXWindow;
|
||||
#endif
|
||||
|
||||
OSD::AddMessage("Dolphin OpenGL Video Plugin" ,5000);
|
||||
OSD::AddMessage("Dolphin OpenGL Video Plugin", 5000);
|
||||
}
|
||||
|
||||
void DoState(unsigned char **ptr, int mode) {
|
||||
void DoState(unsigned char **ptr, int mode)
|
||||
{
|
||||
#if defined(HAVE_X11) && HAVE_X11
|
||||
OpenGL_MakeCurrent();
|
||||
#endif
|
||||
@ -351,7 +352,8 @@ void Video_AddMessage(const char* pstr, u32 milliseconds)
|
||||
OSD::AddMessage(pstr, milliseconds);
|
||||
}
|
||||
|
||||
void Video_SetRendering(bool bEnabled) {
|
||||
void Video_SetRendering(bool bEnabled)
|
||||
{
|
||||
Fifo_SetRendering(bEnabled);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user