mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-09 20:58:31 +09:00
[Fix] (EGL_impl.cpp): use RGBA8_UNORM as ColorBufferFormat, avoiding auto sRGB color correction
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user