From 588162e08320aa3c07db41ec09bed2f920b65e60 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 11 Apr 2020 23:44:22 +0200 Subject: [PATCH] - removed redundant MAKE_ID definition. --- source/core/utility/m_png.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/source/core/utility/m_png.h b/source/core/utility/m_png.h index 85fd1c64f..12e6d5adf 100644 --- a/source/core/utility/m_png.h +++ b/source/core/utility/m_png.h @@ -37,6 +37,7 @@ #include "zstring.h" #include "files.h" #include "palentry.h" +#include "basics.h" // Screenshot buffer image data types enum ESSType @@ -122,12 +123,4 @@ class FTexture; FTexture *PNGTexture_CreateFromFile(PNGHandle *png, const FString &filename); -#ifndef MAKE_ID -#ifndef __BIG_ENDIAN__ -#define MAKE_ID(a,b,c,d) ((uint32_t)((a)|((b)<<8)|((c)<<16)|((d)<<24))) -#else -#define MAKE_ID(a,b,c,d) ((uint32_t)((d)|((c)<<8)|((b)<<16)|((a)<<24))) -#endif -#endif - #endif