Fixed OpenGL ES primitive alpha blending.
authorMike Gorchak <lestat@i.com.ua>
Tue, 13 Oct 2009 06:28:31 +0000
changeset 3389 3fe2248fde37
parent 3388 be67ddef6617
child 3390 802e5d85b90c
Fixed OpenGL ES primitive alpha blending.
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;
 }