mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 22:51:39 +00:00
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:
parent
634a10db52
commit
2951476ce0
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -53,7 +53,7 @@ void V_CalcCleanFacs (int designwidth, int designheight, int realwidth, int real
|
|||
|
||||
class FTexture;
|
||||
struct FColormap;
|
||||
enum FTextureFormat;
|
||||
enum FTextureFormat : uint32_t;
|
||||
|
||||
// TagItem definitions for DrawTexture. As far as I know, tag lists
|
||||
// originated on the Amiga.
|
||||
|
|
Loading…
Reference in a new issue