summaryrefslogtreecommitdiffstats
path: root/src/video_core/debug_utils
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-09-10 16:26:21 +0200
committerLioncash <mathew1800@gmail.com>2015-09-10 16:26:21 +0200
commit526eb33d1eca57cf82e5098b2abaef241b431b5e (patch)
tree8970c0c97751948260a7dac8e0ea6eef7323da03 /src/video_core/debug_utils
parentMerge pull request #1131 from lioncash/uninit (diff)
downloadyuzu-526eb33d1eca57cf82e5098b2abaef241b431b5e.tar
yuzu-526eb33d1eca57cf82e5098b2abaef241b431b5e.tar.gz
yuzu-526eb33d1eca57cf82e5098b2abaef241b431b5e.tar.bz2
yuzu-526eb33d1eca57cf82e5098b2abaef241b431b5e.tar.lz
yuzu-526eb33d1eca57cf82e5098b2abaef241b431b5e.tar.xz
yuzu-526eb33d1eca57cf82e5098b2abaef241b431b5e.tar.zst
yuzu-526eb33d1eca57cf82e5098b2abaef241b431b5e.zip
Diffstat (limited to 'src/video_core/debug_utils')
-rw-r--r--src/video_core/debug_utils/debug_utils.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp
index 059445f7d..9a61e700b 100644
--- a/src/video_core/debug_utils/debug_utils.cpp
+++ b/src/video_core/debug_utils/debug_utils.cpp
@@ -298,7 +298,6 @@ void DumpShader(const std::string& filename, const Regs::ShaderConfig& config, c
}
// Write data to file
- static int dump_index = 0;
std::ofstream file(filename, std::ios_base::out | std::ios_base::binary);
for (auto& chunk : writing_queue) {
@@ -695,7 +694,6 @@ void DumpTexture(const Pica::Regs::TextureConfig& texture_config, u8* data) {
for (unsigned y = 0; y < texture_config.height; ++y)
{
u8* row_ptr = (u8*)buf + y * row_stride;
- u8* ptr = row_ptr;
png_write_row(png_ptr, row_ptr);
}