mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-23 10:20:51 +00:00
Remove DrawWireframe option to save space in dialog, it doesn't really work right anyway
This commit is contained in:
parent
339d8ed32b
commit
367e9bcefb
@ -152,8 +152,6 @@ void Config::Load(const char *iniFileName)
|
||||
pspConfig->Get("EncryptSave", &bEncryptSave, true);
|
||||
|
||||
CleanRecent();
|
||||
// Ephemeral settings
|
||||
bDrawWireframe = false;
|
||||
}
|
||||
|
||||
void Config::Save()
|
||||
|
@ -56,7 +56,6 @@ public:
|
||||
bool bDisplayFramebuffer;
|
||||
bool bHardwareTransform;
|
||||
bool bBufferedRendering;
|
||||
bool bDrawWireframe;
|
||||
bool bLinearFiltering;
|
||||
bool bUseVBO;
|
||||
#ifdef BLACKBERRY10
|
||||
|
@ -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
|
||||
|
@ -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_;
|
||||
|
@ -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();
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user