Skip to content

Commit

Permalink
Fix WorldToScreenPSO draw call count
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Oct 11, 2023
1 parent db1cf70 commit 0b7e44e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/display3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 0b7e44e

Please sign in to comment.