Skip to content
Permalink
Browse files

Fixed setting the texture blend mode in the OpenGL ES2 renderer

  • Loading branch information
slouken committed Aug 14, 2017
1 parent de91b12 commit 36ba92485c13bd00fc6fc3775b98c230aaf6c30c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/render/opengles2/SDL_render_gles2.c
@@ -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;

0 comments on commit 36ba924

Please sign in to comment.