From 224c8b36ea085ff74c883b95511bfe3679397372 Mon Sep 17 00:00:00 2001 From: LunaMoo Date: Mon, 25 Dec 2017 03:53:47 +0100 Subject: [PATCH] Clean up previous commit, still unconvinced if it's the best way to do it.;p --- Windows/GEDebugger/GEDebugger.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Windows/GEDebugger/GEDebugger.cpp b/Windows/GEDebugger/GEDebugger.cpp index 8302f86f1bd1..3c6f4af9d0d9 100644 --- a/Windows/GEDebugger/GEDebugger.cpp +++ b/Windows/GEDebugger/GEDebugger.cpp @@ -275,13 +275,10 @@ void CGEDebugger::PreviewExport(const GPUDebugBuffer *dbgBuffer) { } void CGEDebugger::ShowReplacementFilename() { - primaryBuffer_ = nullptr; - GPU_GetCurrentTexture(primaryBuffer_, textureLevel_); const auto state = gpuDebug->GetGState(); u32 texAddr = state.getTextureAddress(textureLevel_); std::string filename = gpuDebug->PrintReplacementInfo(texAddr); InputBox_GetString(GetModuleHandle(NULL), m_hDlg, L"Filename", filename, filename); - } void CGEDebugger::UpdatePreviews() {