Skip to content

Commit de5b8a1

Browse files
meyraud705slouken
authored andcommitted
Remove useless call to SetTextureAddressMode()
1 parent 7ad4911 commit de5b8a1

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-
SetTextureAddressMode(renderdata, textype, data->texture_address_mode_u, data->texture_address_mode_v);
653652
#ifdef SDL_PLATFORM_MACOS
654653
#ifndef GL_TEXTURE_STORAGE_HINT_APPLE
655654
#define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC

0 commit comments

Comments
 (0)