Mercurial > sdl-ios-xcode
changeset 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 | be67ddef6617 |
children | 802e5d85b90c |
files | src/video/SDL_renderer_gles.c |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
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; }