Fixed setting the texture blend mode in the OpenGL ES2 renderer
authorSam Lantinga <slouken@libsdl.org>
Mon, 14 Aug 2017 10:04:59 -0700
changeset 1128516f51c1376ae
parent 11284 3db78361e751
child 11286 61b90db596ee
Fixed setting the texture blend mode in the OpenGL ES2 renderer
src/render/opengles2/SDL_render_gles2.c
     1.1 --- a/src/render/opengles2/SDL_render_gles2.c	Mon Aug 14 06:28:21 2017 -0700
     1.2 +++ b/src/render/opengles2/SDL_render_gles2.c	Mon Aug 14 10:04:59 2017 -0700
     1.3 @@ -1754,7 +1754,7 @@
     1.4      }
     1.5  
     1.6      /* Configure texture blending */
     1.7 -    GLES2_SetBlendMode(data, renderer->blendMode);
     1.8 +    GLES2_SetBlendMode(data, texture->blendMode);
     1.9  
    1.10      GLES2_SetTexCoords(data, SDL_TRUE);
    1.11      return 0;