diff --git a/implementations/Crafter.Graphics-Window.cpp b/implementations/Crafter.Graphics-Window.cpp index a57569d..2b65ee1 100644 --- a/implementations/Crafter.Graphics-Window.cpp +++ b/implementations/Crafter.Graphics-Window.cpp @@ -626,12 +626,12 @@ void Window::Render() { // elements.erase(std::remove(elements.begin(), elements.end(), static_cast(nullptr)), elements.end()); // std::sort(elements.begin(), elements.end(), [](Transform* a, Transform* b){ return a->anchor.z < b->anchor.z; }); renderer.Render(); - #endif #ifdef CRAFTER_GRAPHICS_WINDOW_WAYLAND wl_surface_attach(surface, buffer, 0, 0); wl_surface_commit(surface); wl_surface_damage(surface, 0, 0, 10000, 100000); #endif + #endif #ifdef CRAFTER_GRAPHICS_RENDERER_VULKAN // Acquire the next image from the swap chain Device::CheckVkResult(vkAcquireNextImageKHR(Device::device, swapChain, UINT64_MAX, semaphores.presentComplete, (VkFence)nullptr, ¤tBuffer));