Add debug text for frame number. Debugging invalidation of vertex buffer objects
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, macos-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled

This commit is contained in:
2026-06-16 01:01:19 -07:00
parent bc10f446e5
commit 29790ee41f
2 changed files with 3 additions and 1 deletions

View File

@@ -47,6 +47,7 @@ using namespace kraken;
#include <array>
#include <vector>
#include <string>
#include <format>
#include <set>
#include <list>
#include <map>

View File

@@ -485,7 +485,8 @@ void KRCamera::renderPost(RenderInfo& ri)
void KRCamera::renderDebug(RenderInfo& ri)
{
settings.m_debug_text = "Font Test"; // FNIDME!! KIPG!! HACK!! Debug text debugging...
settings.m_debug_text = std::format("Frame Number {}", (getContext().getCurrentFrame()); // FNIDME!! KIPG!! HACK!! Debug text debugging...
const char* szText = settings.m_debug_text.c_str();
if (*szText == '\0') {