From 9390dab7f7045f3fa3b1d30cfdd688dd511c6a75 Mon Sep 17 00:00:00 2001 From: assiduous Date: Tue, 7 Apr 2020 18:36:57 -0700 Subject: Fixed Mac/Linux build issue --- TextureLoader/include/JPEGCodec.h | 2 -- TextureLoader/include/PNGCodec.h | 2 -- 2 files changed, 4 deletions(-) (limited to 'TextureLoader/include') diff --git a/TextureLoader/include/JPEGCodec.h b/TextureLoader/include/JPEGCodec.h index 4755a5a..50bca4b 100644 --- a/TextureLoader/include/JPEGCodec.h +++ b/TextureLoader/include/JPEGCodec.h @@ -46,7 +46,6 @@ DILIGENT_TYPED_ENUM(DECODE_JPEG_RESULT, Uint32) /// An unexpected error occurred while decoding the file. DECODE_JPEG_RESULT_DECODING_ERROR }; -typedef enum DECODE_JPEG_RESULT DECODE_JPEG_RESULT; /// JPEG image encoding result. DILIGENT_TYPED_ENUM(ENCODE_JPEG_RESULT, Uint32) @@ -60,7 +59,6 @@ DILIGENT_TYPED_ENUM(ENCODE_JPEG_RESULT, Uint32) /// Failed to initialize the encoder. ENCODE_JPEG_RESULT_INITIALIZATION_FAILED }; -typedef enum ENCODE_JPEG_RESULT ENCODE_JPEG_RESULT; // clang-format on diff --git a/TextureLoader/include/PNGCodec.h b/TextureLoader/include/PNGCodec.h index 0cc045a..7379220 100644 --- a/TextureLoader/include/PNGCodec.h +++ b/TextureLoader/include/PNGCodec.h @@ -52,7 +52,6 @@ DILIGENT_TYPED_ENUM(DECODE_PNG_RESULT, Uint32) /// An unexpected error occurred while decoding the file. DECODE_PNG_RESULT_DECODING_ERROR }; -typedef enum DECODE_PNG_RESULT DECODE_PNG_RESULT; /// PNG encoding result DILIGENT_TYPED_ENUM(ENCODE_PNG_RESULT, Uint32) @@ -66,7 +65,6 @@ DILIGENT_TYPED_ENUM(ENCODE_PNG_RESULT, Uint32) /// Failed to initialize the encoder. ENCODE_PNG_RESULT_INITIALIZATION_FAILED }; -typedef enum ENCODE_PNG_RESULT ENCODE_PNG_RESULT; // clang-format on -- cgit v1.2.3