mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 06:08:30 +09:00
[Misc] (Diligent/Present): hard code disable vsync for now
This commit is contained in:
@@ -910,7 +910,7 @@ namespace MG_EGL::Diligent {
|
|||||||
MG_Diligent::g_pContext->Flush();
|
MG_Diligent::g_pContext->Flush();
|
||||||
|
|
||||||
MG_Util::Debug::LogD("Presenting swap chain");
|
MG_Util::Debug::LogD("Presenting swap chain");
|
||||||
MG_Diligent::g_pSwapChain->Present();
|
MG_Diligent::g_pSwapChain->Present(0);
|
||||||
MG_GL::GL::UpdateDefaultFramebuffer();
|
MG_GL::GL::UpdateDefaultFramebuffer();
|
||||||
// if (MG_Diligent::IsInRenderPass) {
|
// if (MG_Diligent::IsInRenderPass) {
|
||||||
// MG_Util::Debug::LogD("Ending current render pass.");
|
// MG_Util::Debug::LogD("Ending current render pass.");
|
||||||
|
|||||||
Reference in New Issue
Block a user