diff options
author | archshift <gh@archshift.com> | 2015-04-05 09:11:48 +0200 |
---|---|---|
committer | archshift <gh@archshift.com> | 2015-04-05 09:11:48 +0200 |
commit | fec6d603b0a76361bfc0bd63030a94ad206f19a8 (patch) | |
tree | e1f98168f2ebee36f3f11932e61b88542d9c0be5 | |
parent | Merge pull request #680 from archshift/bg-color (diff) | |
parent | Changed occurences of colour to color for consistency (diff) | |
download | yuzu-fec6d603b0a76361bfc0bd63030a94ad206f19a8.tar yuzu-fec6d603b0a76361bfc0bd63030a94ad206f19a8.tar.gz yuzu-fec6d603b0a76361bfc0bd63030a94ad206f19a8.tar.bz2 yuzu-fec6d603b0a76361bfc0bd63030a94ad206f19a8.tar.lz yuzu-fec6d603b0a76361bfc0bd63030a94ad206f19a8.tar.xz yuzu-fec6d603b0a76361bfc0bd63030a94ad206f19a8.tar.zst yuzu-fec6d603b0a76361bfc0bd63030a94ad206f19a8.zip |
-rw-r--r-- | src/video_core/debug_utils/debug_utils.cpp | 2 | ||||
-rw-r--r-- | src/video_core/utils.h | 6 |
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) { png_init_io(png_ptr, fp.GetHandle()); - // Write header (8 bit colour depth) + // Write header (8 bit color depth) png_set_IHDR(png_ptr, info_ptr, texture_config.width, texture_config.height, 8, PNG_COLOR_TYPE_RGB /*_ALPHA*/, PNG_INTERLACE_NONE, 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 { /// Structure for the TGA texture format (for dumping) struct TGAHeader { char idlength; - char colourmaptype; + char colormaptype; char datatypecode; - short int colourmaporigin; - short int colourmaplength; + short int colormaporigin; + short int colormaplength; short int x_origin; short int y_origin; short width; |