mirror of https://github.com/encounter/SDL.git
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