- [NEW] Pasada la textura de font a png

- [FIX] debugger inicialitzat al començar
- [WIP] Noves classes de UI
This commit is contained in:
Raimon @ quifisraimon committed 2026-09-24 14:01:45 +02:00
1 parent 1dddc11722
commit 6c205fb014
7 files changed
+255 -1

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ namespace ui
SDL_Texture * createtexture(SDL_Renderer *renderer)
{
SDL_Surface *bmp_surface = SDL_LoadBMP("font.bmp");
SDL_Surface *bmp_surface = SDL_LoadPNG("font.png");
SDL_Texture *texture = SDL_CreateTextureFromSurface(renderer, bmp_surface);
SDL_DestroySurface(bmp_surface);
SDL_SetTextureScaleMode(texture, SDL_SCALEMODE_NEAREST);