mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06: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 */
|
/* Configure texture blending */
|
||||||
GLES2_SetBlendMode(data, renderer->blendMode);
|
GLES2_SetBlendMode(data, texture->blendMode);
|
||||||
|
|
||||||
GLES2_SetTexCoords(data, SDL_TRUE);
|
GLES2_SetTexCoords(data, SDL_TRUE);
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user