Fixed compilation with GCC and Clang

src/v_video.h:56:6: error: ISO C++ forbids forward references to 'enum' types
src/v_video.h:342:17: error: field has incomplete type 'FTextureFormat'
src/v_video.h:344:47: error: variable has incomplete type 'FTextureFormat'
This commit is contained in:
alexey.lysiuk 2018-03-24 09:40:24 +02:00
commit 2951476ce0
2 changed files with 2 additions and 2 deletions

View file

@ -154,7 +154,7 @@ struct patch_t
// All FTextures present their data to the world in 8-bit format, but if
// the source data is something else, this is it.
enum FTextureFormat
enum FTextureFormat : uint32_t
{
TEX_Pal,
TEX_Gray,