From 1ac89c9be0b28f1ee0e823681d05b766c306c253 Mon Sep 17 00:00:00 2001 From: Panos Karabelas Date: Tue, 3 Dec 2024 04:48:36 +0000 Subject: [PATCH] [rendering] additional buffer for the on-screen text (a total of 3) to enliminate ultra high frame rate flickering --- runtime/Rendering/Font/Font.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/Rendering/Font/Font.h b/runtime/Rendering/Font/Font.h index ac0af61ce..1c002391d 100644 --- a/runtime/Rendering/Font/Font.h +++ b/runtime/Rendering/Font/Font.h @@ -65,7 +65,7 @@ namespace Spartan std::shared_ptr vertex; std::shared_ptr index; }; - const uint32_t font_buffer_count = 2; + const uint32_t font_buffer_count = 3; class Font : public IResource {