mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Fixed setting the texture blend mode in the OpenGL ES2 renderer
This commit is contained in:
parent
de91b1248f
commit
36ba92485c
@ -1754,7 +1754,7 @@ GLES2_SetupCopy(SDL_Renderer *renderer, SDL_Texture *texture)
|
||||
}
|
||||
|
||||
/* Configure texture blending */
|
||||
GLES2_SetBlendMode(data, renderer->blendMode);
|
||||
GLES2_SetBlendMode(data, texture->blendMode);
|
||||
|
||||
GLES2_SetTexCoords(data, SDL_TRUE);
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user