Reapply "[Fix] (EGL_impl.cpp): make swapchain rotation right"

This reverts commit 832fc56a1b.
This commit is contained in:
BZLZHH
2025-06-20 21:55:53 +08:00
parent 3583e24bd8
commit 4ae9c00c06
@@ -678,6 +678,8 @@ namespace MG_EGL::Diligent {
::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");
pFactoryVk->CreateDeviceAndContextsVk(
EngineCI, &MG_Diligent::g_pDevice, &MG_Diligent::g_pContext);