summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureDecoder.h
diff options
context:
space:
mode:
authorlioncash <mathew1800@gmail.com>2014-02-10 13:54:46 -0500
committerLioncash <mathew1800@gmail.com>2014-02-10 18:07:16 -0500
commitd2038049f51192fbb55fbde2fc08128bacfb7707 (patch)
tree2f352e13e3d5868db072f1e75d611a90e938d0cf /Source/Core/VideoCommon/TextureDecoder.h
parenta0a65a2906af132f6da04cf552812aac6ac5f20a (diff)
Replace all include guard ifdefs with "#pragma once"
Diffstat (limited to 'Source/Core/VideoCommon/TextureDecoder.h')
-rw-r--r--Source/Core/VideoCommon/TextureDecoder.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/TextureDecoder.h b/Source/Core/VideoCommon/TextureDecoder.h
index d474f1684b..dd1aef199a 100644
--- a/Source/Core/VideoCommon/TextureDecoder.h
+++ b/Source/Core/VideoCommon/TextureDecoder.h
@@ -2,9 +2,10 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
-#ifndef _TEXTUREDECODER_H
-#define _TEXTUREDECODER_H
+#pragma once
+
#include "Hash.h"
+
enum
{
TMEM_SIZE = 1024*1024,
@@ -76,5 +77,3 @@ void TexDecoder_DecodeTexel(u8 *dst, const u8 *src, int s, int t, int imageWidth
void TexDecoder_DecodeTexelRGBA8FromTmem(u8 *dst, const u8 *src_ar, const u8* src_gb, int s, int t, int imageWidth);
PC_TexFormat TexDecoder_DecodeRGBA8FromTmem(u8* dst, const u8 *src_ar, const u8 *src_gb, int width, int height);
void TexDecoder_SetTexFmtOverlayOptions(bool enable, bool center);
-
-#endif