mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 20:28:32 +09:00
[Fix] (EGL_impl.cpp): make swapchain rotation right
This commit is contained in:
@@ -587,6 +587,7 @@ namespace MG_EGL::Diligent {
|
||||
EngineCI.DynamicHeapSize = 256 << 20;
|
||||
|
||||
::Diligent::SwapChainDesc SCDesc;
|
||||
SCDesc.PreTransform = SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180;
|
||||
|
||||
MG_Util::Debug::LogD("Creating Vulkan device and contexts");
|
||||
pFactoryVk->CreateDeviceAndContextsVk(
|
||||
|
||||
Reference in New Issue
Block a user