Removed width/height parameters from LoadTexture()

You can directly access the texture width and height now.
This commit is contained in:
Sam Lantinga committed 2025-03-14 11:38:13 -07:00
1 parent dcb97a5f49
commit efe122be4d
14 files changed
+49 -70

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ static GlyphInfo glyphs[128];
static bool LoadFontTexture(void)
{
font_texture = LoadTexture(renderer, "msdf_font.bmp", false, NULL, NULL);
font_texture = LoadTexture(renderer, "msdf_font.bmp", false);
if (!font_texture) {
SDL_Log("Failed to create font texture: %s", SDL_GetError());
return false;