Skip to content

Commit

Permalink
Fixed setting the texture blend mode in the OpenGL ES2 renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 14, 2017
1 parent de91b12 commit 36ba924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/opengles2/SDL_render_gles2.c
Expand Up @@ -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;
Expand Down

0 comments on commit 36ba924

Please sign in to comment.