From 2ffc0ec82b05cc2e256a34f450a5b5e56cd5016d Mon Sep 17 00:00:00 2001 From: past-due <30942300+past-due@users.noreply.github.com> Date: Wed, 11 Oct 2023 14:02:47 -0400 Subject: [PATCH] Fix WorldToScreenPSO draw call count --- src/display3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/display3d.cpp b/src/display3d.cpp index 1cf7e3a11a7..9ac5a28f749 100644 --- a/src/display3d.cpp +++ b/src/display3d.cpp @@ -1510,7 +1510,7 @@ static void drawTiles(iView *player) gfx_api::WorldToScreenPSO::get().bind_constants({1.0f}); gfx_api::WorldToScreenPSO::get().bind_vertex_buffers(pScreenTriangleVBO); gfx_api::WorldToScreenPSO::get().bind_textures(gfx_api::context::get().getSceneTexture()); - gfx_api::WorldToScreenPSO::get().draw(6, 0); + gfx_api::WorldToScreenPSO::get().draw(3, 0); gfx_api::WorldToScreenPSO::get().unbind_vertex_buffers(pScreenTriangleVBO); }