mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Merge pull request #405 from raven02/g3d-log
Add disable G3D log to option menu , make default false
This commit is contained in:
commit
21b93d33cd
3 files changed
+4
-1
No files matched your search
@@ -66,6 +66,7 @@ void CConfig::Load(const char *iniFileName)
|
||||
graphics->Get("LinearFiltering", &bLinearFiltering, false);
|
||||
graphics->Get("SSAA", &SSAntiAlaising, 0);
|
||||
graphics->Get("VBO", &bUseVBO, true);
|
||||
graphics->Get("DisableG3DLog", &bDisableG3DLog, false);
|
||||
|
||||
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
|
||||
sound->Get("Enable", &bEnableSound, true);
|
||||
@@ -107,6 +108,7 @@ void CConfig::Save()
|
||||
graphics->Set("LinearFiltering", bLinearFiltering);
|
||||
graphics->Set("SSAA", SSAntiAlaising);
|
||||
graphics->Set("VBO", bUseVBO);
|
||||
graphics->Set("DisableG3DLog", bDisableG3DLog);
|
||||
|
||||
IniFile::Section *sound = iniFile.GetOrCreateSection("Sound");
|
||||
sound->Set("Enable", bEnableSound);
|
||||
|
||||
@@ -338,7 +338,7 @@ void GenerateVertexShader(int prim, char *buffer) {
|
||||
if (hasColor) {
|
||||
WRITE(p, " v_color0 = a_color0;\n");
|
||||
} else {
|
||||
WRITE(p, " v_color0 += vec4(u_matambientalpha.rgb, 0.0);\n");
|
||||
WRITE(p, " v_color0 = u_matambientalpha;\n");
|
||||
}
|
||||
if (lmode)
|
||||
WRITE(p, " v_color1 = vec3(0.0, 0.0, 0.0);\n");
|
||||
|
||||
@@ -480,6 +480,7 @@ namespace MainWindow
|
||||
SetZoom(screenfactor);
|
||||
_ViewFullScreen(hWnd);
|
||||
}
|
||||
UpdateMenus();
|
||||
break;
|
||||
|
||||
case ID_OPTIONS_WIREFRAME:
|
||||
|
||||
Reference in new issue
Block a user