Clean up previous commit,

still unconvinced if it's the best way to do it.;p
This commit is contained in:
LunaMoo committed 2017-12-25 03:53:47 +01:00
1 parent 4f771a6252
commit 224c8b36ea
1 file changed
-3
-3
View File
@@ -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() {