This commit is contained in:
usr 2025-06-04 21:26:11 +03:00
parent 2b06ef5d11
commit 3c79f41cb4
10 changed files with 114 additions and 80 deletions

View file

@ -2,7 +2,7 @@
#include "interface.h"
#include "input.h"
int Input(APP *app, char *run, FONTS *fonts, char flag) {
int Input(APP *app, char *run, char flag) {
SDL_Event event;
while (SDL_PollEvent(&event)) {
@ -54,8 +54,6 @@ int Input(APP *app, char *run, FONTS *fonts, char flag) {
SDL_UpdateWindowSurface(app->window);
}
CloseFonts(fonts);
InitFonts(fonts, *app);
break;
default: