From 832fc56a1b2fdda1d053e43f5c42fd0b0d81b27b Mon Sep 17 00:00:00 2001 From: BZLZHH Date: Fri, 20 Jun 2025 16:50:29 +0800 Subject: [PATCH] Revert "[Fix] (EGL_impl.cpp): make swapchain rotation right" This reverts commit db93ddd28046297602d03c051b2a19616b83806a. # Conflicts: # MG/MG_GL/Implementations/EGL/Diligent/EGL_impl.cpp --- MG/MG_GL/Implementations/EGL/Diligent/EGL_impl.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/MG/MG_GL/Implementations/EGL/Diligent/EGL_impl.cpp b/MG/MG_GL/Implementations/EGL/Diligent/EGL_impl.cpp index 5812168d..6059d30e 100644 --- a/MG/MG_GL/Implementations/EGL/Diligent/EGL_impl.cpp +++ b/MG/MG_GL/Implementations/EGL/Diligent/EGL_impl.cpp @@ -678,8 +678,6 @@ 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);