Fixed setting the texture blend mode in the OpenGL ES2 renderer

This commit is contained in:
Sam Lantinga 2017-08-14 10:04:59 -07:00
parent de91b1248f
commit 36ba92485c

View File

@ -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;