From 3558289d709dc16888234edd039a4cc8fb220f7a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 10 Nov 2020 21:44:15 +0100 Subject: [PATCH] - give forward declared enum a type. --- source/common/engine/i_interface.h | 2 +- source/common/textures/gametexture.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/common/engine/i_interface.h b/source/common/engine/i_interface.h index d734dbee9..b66bfc67e 100644 --- a/source/common/engine/i_interface.h +++ b/source/common/engine/i_interface.h @@ -6,7 +6,7 @@ struct event_t; class FRenderState; class FGameTexture; -enum EUpscaleFlags; +enum EUpscaleFlags : int; struct SystemCallbacks { diff --git a/source/common/textures/gametexture.h b/source/common/textures/gametexture.h index 0720267c3..c7a753372 100644 --- a/source/common/textures/gametexture.h +++ b/source/common/textures/gametexture.h @@ -361,7 +361,7 @@ inline FGameTexture* MakeGameTexture(FTexture* tex, const char *name, ETextureTy return t; } -enum EUpscaleFlags +enum EUpscaleFlags : int { UF_None = 0, UF_Texture = 1,