- [FIX] Render final a textura, per a evitar la merda que clava la GPU si s'usa acceleració hardware

This commit is contained in:
2025-11-18 10:08:35 +01:00
parent aaa847b4be
commit 22b62dd46b
4 changed files with 20 additions and 2 deletions

View File

@@ -114,6 +114,10 @@ int main(int argc, char *argv[])
{
game::windowHasFocus = false;
}
if (e.type == SDL_EVENT_WINDOW_RESIZED)
{
draw::resizeSystemTexture(e.window.data1, e.window.data2);
}
}
if (SDL_GetTicks()-current_ticks >= game::ticks_per_frame)