From 2f7f107ff9e5fad660a1bba5f8e33c823519e5ff Mon Sep 17 00:00:00 2001 From: Daniel Gibson Date: Tue, 17 May 2022 03:10:28 +0200 Subject: [PATCH] renderer/RenderSystem.h: Changes from dhewm3 only affect glconfig_t which I don't think any mod should use --- renderer/RenderSystem.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/renderer/RenderSystem.h b/renderer/RenderSystem.h index 253b9eb..b57aad9 100644 --- a/renderer/RenderSystem.h +++ b/renderer/RenderSystem.h @@ -59,7 +59,7 @@ typedef struct glconfig_s { int maxTextureImageUnits; float maxTextureAnisotropy; - int colorBits, depthBits, stencilBits; + int colorBits, alphabits, depthBits, stencilBits; bool multitextureAvailable; bool textureCompressionAvailable; @@ -88,6 +88,10 @@ typedef struct glconfig_s { bool allowARB2Path; bool isInitialized; + + // DG: current video backend is known to need opaque default framebuffer + // used if r_fillWindowAlphaChan == -1 + bool shouldFillWindowAlpha; } glconfig_t;