summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/video_core/debug_utils/debug_utils.cpp2
-rw-r--r--src/video_core/utils.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp
index 83982b4f2..c460146cb 100644
--- a/src/video_core/debug_utils/debug_utils.cpp
+++ b/src/video_core/debug_utils/debug_utils.cpp
@@ -597,7 +597,7 @@ void DumpTexture(const Pica::Regs::TextureConfig& texture_config, u8* data) {
597 597
598 png_init_io(png_ptr, fp.GetHandle()); 598 png_init_io(png_ptr, fp.GetHandle());
599 599
600 // Write header (8 bit colour depth) 600 // Write header (8 bit color depth)
601 png_set_IHDR(png_ptr, info_ptr, texture_config.width, texture_config.height, 601 png_set_IHDR(png_ptr, info_ptr, texture_config.width, texture_config.height,
602 8, PNG_COLOR_TYPE_RGB /*_ALPHA*/, PNG_INTERLACE_NONE, 602 8, PNG_COLOR_TYPE_RGB /*_ALPHA*/, PNG_INTERLACE_NONE,
603 PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE); 603 PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE);
diff --git a/src/video_core/utils.h b/src/video_core/utils.h
index bda793fa5..ffb3e73a3 100644
--- a/src/video_core/utils.h
+++ b/src/video_core/utils.h
@@ -13,10 +13,10 @@ namespace VideoCore {
13/// Structure for the TGA texture format (for dumping) 13/// Structure for the TGA texture format (for dumping)
14struct TGAHeader { 14struct TGAHeader {
15 char idlength; 15 char idlength;
16 char colourmaptype; 16 char colormaptype;
17 char datatypecode; 17 char datatypecode;
18 short int colourmaporigin; 18 short int colormaporigin;
19 short int colourmaplength; 19 short int colormaplength;
20 short int x_origin; 20 short int x_origin;
21 short int y_origin; 21 short int y_origin;
22 short width; 22 short width;