mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Moved per-game graphics configuration to the game-list right click menu. It will be too difficult to make the "profiles" drop-down thing work with 3-state vs 2-state checkboxes. The per-game settings now have "undetermined" states, except for the radio buttons(I'll fix that later). It's super hacky right now. Video config (probably all config stuff) could be redone.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7386 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -9,6 +9,9 @@ namespace OGL
|
||||
|
||||
class VideoBackend : public VideoBackendHardware
|
||||
{
|
||||
public:
|
||||
VideoBackend() : VideoBackendHardware("gfx_opengl") {}
|
||||
|
||||
bool Initialize(void *&);
|
||||
void Shutdown();
|
||||
|
||||
|
@ -132,7 +132,6 @@ void InitBackendInfo()
|
||||
g_Config.backend_info.APIType = API_OPENGL;
|
||||
g_Config.backend_info.bUseRGBATextures = false;
|
||||
g_Config.backend_info.bSupports3DVision = false;
|
||||
g_Config.backend_info.bAllowSignedBytes = true;
|
||||
g_Config.backend_info.bSupportsDualSourceBlend = false; // supported, but broken
|
||||
g_Config.backend_info.bSupportsFormatReinterpretation = false;
|
||||
g_Config.backend_info.bSupportsPixelLighting = true;
|
||||
@ -150,7 +149,7 @@ void VideoBackend::ShowConfig(void *_hParent)
|
||||
// pp shaders
|
||||
GetShaders(g_Config.backend_info.PPShaders);
|
||||
|
||||
VideoConfigDiag diag((wxWindow*)_hParent, "OpenGL", "gfx_opengl");
|
||||
VideoConfigDiag diag((wxWindow*)_hParent, "OpenGL");
|
||||
diag.ShowModal();
|
||||
#endif
|
||||
}
|
||||
@ -161,7 +160,7 @@ bool VideoBackend::Initialize(void *&window_handle)
|
||||
|
||||
frameCount = 0;
|
||||
|
||||
g_Config.Load((File::GetUserPath(D_CONFIG_IDX) + "gfx_opengl.ini").c_str());
|
||||
LoadConfig();
|
||||
g_Config.GameIniLoad(SConfig::GetInstance().m_LocalCoreStartupParameter.m_strGameIni.c_str());
|
||||
|
||||
g_Config.UpdateProjectionHack();
|
||||
|
Reference in New Issue
Block a user