Revert Windows using Vulkan (Vulkan has the same glitches OpenGL has on windows)

This commit is contained in:
Yousef Khadadeh 2026-02-04 11:57:04 +03:00
parent 6c038a7e0f
commit 730a2f1986
3 changed files with 2 additions and 6 deletions

View file

@ -603,6 +603,7 @@ SDL_AppResult SDL_AppIterate(void *appstate) {
#ifdef USE_BACKEND_VULKAN
mS.vulkanWindowContext->getBackbufferSurface()->getCanvas()->drawImage(mS.intermediateSurface->makeTemporaryImage(), 0, 0);
mS.ctx->flushAndSubmit();
mS.vulkanWindowContext->swapBuffers();
#elif USE_BACKEND_OPENGL