Remove DrawWireframe option to save space in dialog, it doesn't really work right anyway

This commit is contained in:
Henrik Rydgård committed 2013-05-16 17:18:53 +02:00
1 parent 339d8ed32b
commit 367e9bcefb
6 files changed
+1 -26

No files matched your search

-2
View File
@@ -152,8 +152,6 @@ void Config::Load(const char *iniFileName)
pspConfig->Get("EncryptSave", &bEncryptSave, true);
CleanRecent();
// Ephemeral settings
bDrawWireframe = false;
}
void Config::Save()
-1
View File
@@ -56,7 +56,6 @@ public:
bool bDisplayFramebuffer;
bool bHardwareTransform;
bool bBufferedRendering;
bool bDrawWireframe;
bool bLinearFiltering;
bool bUseVBO;
#ifdef BLACKBERRY10
-17
View File
@@ -249,19 +249,6 @@ void GLES_GPU::DumpNextFrame() {
dumpNextFrame_ = true;
}
void GLES_GPU::BeginDebugDraw() {
if (g_Config.bDrawWireframe) {
#ifndef USING_GLES2
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
#endif
}
}
void GLES_GPU::EndDebugDraw() {
#ifndef USING_GLES2
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
#endif
}
void GLES_GPU::BeginFrame() {
textureCache_.StartFrame();
transformDraw_.DecimateTrackedVertexArrays();
@@ -300,16 +287,12 @@ void GLES_GPU::CopyDisplayToOutput() {
transformDraw_.Flush();
EndDebugDraw();
framebufferManager_.CopyDisplayToOutput();
framebufferManager_.EndFrame();
shaderManager_->EndFrame();
gstate_c.textureChanged = true;
BeginDebugDraw();
}
// Render queue
-4
View File
@@ -75,10 +75,6 @@ private:
void CheckFlushOp(u32 op, u32 diff);
void BuildReportingInfo();
// Applies states for debugging if enabled.
void BeginDebugDraw();
void EndDebugDraw();
FramebufferManager framebufferManager_;
TextureCache textureCache_;
TransformDrawEngine transformDraw_;
+1 -1
View File
@@ -85,7 +85,7 @@ EmuScreen::EmuScreen(const std::string &filename) : invalid_(true) {
ERROR_LOG(BOOT, "%s", errorMessage_.c_str());
return;
}
globalUIState = UISTATE_INGAME;
host->BootDone();
host->UpdateDisassembly();
-1
View File
@@ -707,7 +707,6 @@ void GraphicsScreenP1::render() {
gpu->Resized();
}
}
UICheckBox(GEN_ID, x, y += stride, gs->T("Draw Wireframe"), ALIGN_TOPLEFT, &g_Config.bDrawWireframe);
UICheckBox(GEN_ID, x, y += stride, gs->T("Display Raw Framebuffer"), ALIGN_TOPLEFT, &g_Config.bDisplayFramebuffer);
UIEnd();
}