Removed width/height parameters from LoadTexture()
You can directly access the texture width and height now.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user