Remove incorrect and useless call to SetTextureScaleMode()

SetTextureScaleMode() is called a few lines below with correct arguments.
This commit is contained in:
Mathieu Eyraud
2025-11-06 11:40:21 +01:00
committed by Sam Lantinga
parent 616c21d730
commit 7ad4911584

View File

@@ -649,7 +649,6 @@ static bool GL_CreateTexture(SDL_Renderer *renderer, SDL_Texture *texture, SDL_P
data->texture_address_mode_v = SDL_TEXTURE_ADDRESS_CLAMP;
renderdata->glEnable(textype);
renderdata->glBindTexture(textype, data->texture);
SetTextureScaleMode(renderdata, format, textype, data->texture_scale_mode);
SetTextureAddressMode(renderdata, textype, data->texture_address_mode_u, data->texture_address_mode_v);
#ifdef SDL_PLATFORM_MACOS
#ifndef GL_TEXTURE_STORAGE_HINT_APPLE