mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 06:08:30 +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;
|
EngineCI.DynamicHeapSize = 256 << 20;
|
||||||
|
|
||||||
::Diligent::SwapChainDesc SCDesc;
|
::Diligent::SwapChainDesc SCDesc;
|
||||||
|
SCDesc.PreTransform = SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180;
|
||||||
|
|
||||||
MG_Util::Debug::LogD("Creating Vulkan device and contexts");
|
MG_Util::Debug::LogD("Creating Vulkan device and contexts");
|
||||||
pFactoryVk->CreateDeviceAndContextsVk(
|
pFactoryVk->CreateDeviceAndContextsVk(
|
||||||
|
|||||||
Reference in New Issue
Block a user