mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-02 16:08:30 +00:00
Fixed setting the texture blend mode in the OpenGL ES2 renderer
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user