mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-09 04:38:30 +09:00
Reapply "[Fix] (EGL_impl.cpp): make swapchain rotation right"
This reverts commit 832fc56a1b.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user