Mercurial > sdl-ios-xcode
diff src/video/SDL_renderer_gles.c @ 3389:3fe2248fde37
Fixed OpenGL ES primitive alpha blending.
author | Mike Gorchak <lestat@i.com.ua> |
---|---|
date | Tue, 13 Oct 2009 06:28:31 +0000 |
parents | f294338ca6eb |
children | fe2f10481878 |
line wrap: on
line diff
--- 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; }