Eliminados warnings en textrenderer.cpp
This commit is contained in:
@@ -44,7 +44,7 @@ bool TextRenderer::init(SDL_Renderer* renderer, const char* font_path, int font_
|
||||
// CRÍTICO: NO eliminar fontData aquí - SDL_ttf necesita estos datos en memoria
|
||||
// mientras la fuente esté abierta. Se liberará en cleanup()
|
||||
font_data_buffer_ = fontData;
|
||||
SDL_Log("Fuente cargada desde ResourceManager: %s (%zu bytes)", font_path, fontDataSize);
|
||||
SDL_Log("Fuente cargada desde ResourceManager: %s (%lu bytes)", font_path, (unsigned long)fontDataSize);
|
||||
return true;
|
||||
} else {
|
||||
delete[] fontData;
|
||||
|
||||
Reference in New Issue
Block a user