Afegit comptador de frames per segon a la classe Screen

This commit is contained in:
2024-08-26 10:18:06 +02:00
parent c7cc5df920
commit 65b8988ba2
7 changed files with 154 additions and 0 deletions

6
source/common/dbgtxt.h Normal file
View File

@@ -0,0 +1,6 @@
#pragma once
#include <SDL2/SDL.h>
void dbg_init(SDL_Renderer *renderer);
void dbg_print(int x, int y, const char *text, Uint8 r, Uint8 g, Uint8 b);