diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-04-08 01:36:57 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-04-08 01:36:57 +0000 |
| commit | 9390dab7f7045f3fa3b1d30cfdd688dd511c6a75 (patch) | |
| tree | f66577d077683e45693da7720eeffbf095f52e1f /TextureLoader/include | |
| parent | Reworked PNG and JPEG image decoding to fix incompatibility of setjmp with c+... (diff) | |
| download | DiligentTools-9390dab7f7045f3fa3b1d30cfdd688dd511c6a75.tar.gz DiligentTools-9390dab7f7045f3fa3b1d30cfdd688dd511c6a75.zip | |
Fixed Mac/Linux build issue
Diffstat (limited to 'TextureLoader/include')
| -rw-r--r-- | TextureLoader/include/JPEGCodec.h | 2 | ||||
| -rw-r--r-- | TextureLoader/include/PNGCodec.h | 2 |
2 files changed, 0 insertions, 4 deletions
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 |
