debug_fix_screen_change #2

Merged
xsl merged 35 commits from debug_fix_screen_change into main 2026-04-26 10:58:01 +08:00
3 changed files with 8 additions and 0 deletions
Showing only changes of commit 43b00c8446 - Show all commits
+5
View File
@@ -1261,6 +1261,11 @@ void FaceApp::SetInitArg(const char* arg)
void FaceApp::drawFrame(long long frameTime)
{
if (!_running)
{
return;
}
std::unique_lock lock(changeMotionMtx);
static long long game_time = 0;
game_time += frameTime;
+2
View File
@@ -146,6 +146,8 @@ public:
void destroyTexture(VkDevice device, Texture& texture);
void cleanupResources(VkDevice device, VmaAllocator allocator);
bool _running = false;
};
#endif
+1
View File
@@ -77,6 +77,7 @@ int main() {
FaceApp app;
app.SetInitArg(json_str.c_str());
app.initVulkan();
app._running = true;
app.mainLoop();
//try {
// app.mainLoop();