[Fix] (EGL_impl.cpp): use RGBA8_UNORM as ColorBufferFormat, avoiding auto sRGB color correction

This commit is contained in:
2025-06-18 10:36:08 +08:00
parent db93ddd280
commit 58a46c6106
@@ -587,6 +587,7 @@ namespace MG_EGL::Diligent {
EngineCI.DynamicHeapSize = 256 << 20;
::Diligent::SwapChainDesc SCDesc;
SCDesc.ColorBufferFormat = TEX_FORMAT_RGBA8_UNORM;
SCDesc.PreTransform = SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180;
MG_Util::Debug::LogD("Creating Vulkan device and contexts");