From f51ad1cf1f08b0997c5389b332667726dcee25ed Mon Sep 17 00:00:00 2001 From: tildearrow Date: Wed, 15 May 2024 02:48:54 -0500 Subject: [PATCH] test build 6 --- src/engine/engine.h | 4 ++-- src/gui/render/renderDX11.cpp | 8 +------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/engine/engine.h b/src/engine/engine.h index b808e26e9..630914e4f 100644 --- a/src/engine/engine.h +++ b/src/engine/engine.h @@ -54,8 +54,8 @@ class DivWorkPool; #define DIV_UNSTABLE -#define DIV_VERSION "DX9 Test V" -#define DIV_ENGINE_VERSION 206 +#define DIV_VERSION "DX9 Test VI" +#define DIV_ENGINE_VERSION 207 // for imports #define DIV_VERSION_MOD 0xff01 #define DIV_VERSION_FC 0xff02 diff --git a/src/gui/render/renderDX11.cpp b/src/gui/render/renderDX11.cpp index 31d9654ff..71b9a6df0 100644 --- a/src/gui/render/renderDX11.cpp +++ b/src/gui/render/renderDX11.cpp @@ -221,12 +221,6 @@ FurnaceGUITexture* FurnaceGUIRenderDX11::createTexture(bool dynamic, int width, case GUI_TEXFORMAT_ARGB32: texDesc.Format=DXGI_FORMAT_B8G8R8A8_UNORM; break; - case GUI_TEXFORMAT_BGRA32: - texDesc.Format=DXGI_FORMAT_A8R8G8B8_UNORM; - break; - case GUI_TEXFORMAT_RGBA32: - texDesc.Format=DXGI_FORMAT_A8B8G8R8_UNORM; - break; default: logE("unsupported texture format!"); return NULL; @@ -394,7 +388,7 @@ int FurnaceGUIRenderDX11::getMaxTextureHeight() { } unsigned int FurnaceGUIRenderDX11::getTextureFormats() { - return GUI_TEXFORMAT_ABGR32|GUI_TEXFORMAT_ARGB32|GUI_TEXFORMAT_BGRA32|GUI_TEXFORMAT_RGBA32; + return GUI_TEXFORMAT_ABGR32|GUI_TEXFORMAT_ARGB32; } const char* FurnaceGUIRenderDX11::getBackendName() {