Skip to content

Commit 7ad4911

Browse files
meyraud705slouken
authored andcommitted
Remove incorrect and useless call to SetTextureScaleMode()
SetTextureScaleMode() is called a few lines below with correct arguments.
1 parent 616c21d commit 7ad4911

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/render/opengl/SDL_render_gl.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,6 @@ static bool GL_CreateTexture(SDL_Renderer *renderer, SDL_Texture *texture, SDL_P
649649
data->texture_address_mode_v = SDL_TEXTURE_ADDRESS_CLAMP;
650650
renderdata->glEnable(textype);
651651
renderdata->glBindTexture(textype, data->texture);
652-
SetTextureScaleMode(renderdata, format, textype, data->texture_scale_mode);
653652
SetTextureAddressMode(renderdata, textype, data->texture_address_mode_u, data->texture_address_mode_v);
654653
#ifdef SDL_PLATFORM_MACOS
655654
#ifndef GL_TEXTURE_STORAGE_HINT_APPLE

0 commit comments

Comments
 (0)