# HG changeset patch # User Mike Gorchak # Date 1255415311 0 # Node ID 3fe2248fde375398a28c2955d87b99ddd3a49aa3 # Parent be67ddef661729c10edc252bb25373b525c112d6 Fixed OpenGL ES primitive alpha blending. diff -r be67ddef6617 -r 3fe2248fde37 src/video/SDL_renderer_gles.c --- a/src/video/SDL_renderer_gles.c Tue Oct 13 05:30:29 2009 +0000 +++ b/src/video/SDL_renderer_gles.c Tue Oct 13 06:28:31 2009 +0000 @@ -661,8 +661,6 @@ data->glDrawArrays(GL_POINTS, 0, 1); data->glDisableClientState(GL_VERTEX_ARRAY); - data->glDisable(GL_BLEND); - return 0; } @@ -689,8 +687,6 @@ data->glDrawArrays(GL_LINES, 0, 2); data->glDisableClientState(GL_VERTEX_ARRAY); - data->glDisable(GL_BLEND); - return 0; } @@ -726,8 +722,6 @@ data->glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); data->glDisableClientState(GL_VERTEX_ARRAY); - data->glDisable(GL_BLEND); - return 0; }