Fixed OpenGL ES primitive alpha blending.
authorMike Gorchak <lestat@i.com.ua>
Tue, 13 Oct 2009 06:28:31 +0000
changeset 33893fe2248fde37
parent 3388 be67ddef6617
child 3390 802e5d85b90c
Fixed OpenGL ES primitive alpha blending.
src/video/SDL_renderer_gles.c
     1.1 --- a/src/video/SDL_renderer_gles.c	Tue Oct 13 05:30:29 2009 +0000
     1.2 +++ b/src/video/SDL_renderer_gles.c	Tue Oct 13 06:28:31 2009 +0000
     1.3 @@ -661,8 +661,6 @@
     1.4      data->glDrawArrays(GL_POINTS, 0, 1);
     1.5      data->glDisableClientState(GL_VERTEX_ARRAY);
     1.6  
     1.7 -    data->glDisable(GL_BLEND);
     1.8 -
     1.9      return 0;
    1.10  }
    1.11  
    1.12 @@ -689,8 +687,6 @@
    1.13      data->glDrawArrays(GL_LINES, 0, 2);
    1.14      data->glDisableClientState(GL_VERTEX_ARRAY);
    1.15  
    1.16 -    data->glDisable(GL_BLEND);
    1.17 -
    1.18      return 0;
    1.19  }
    1.20  
    1.21 @@ -726,8 +722,6 @@
    1.22      data->glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
    1.23      data->glDisableClientState(GL_VERTEX_ARRAY);
    1.24  
    1.25 -    data->glDisable(GL_BLEND);
    1.26 -
    1.27      return 0;
    1.28  }
    1.29