Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed OpenGL ES primitive alpha blending.
Browse files Browse the repository at this point in the history
  • Loading branch information
llmike committed Oct 13, 2009
1 parent f1b01a5 commit 794e6c0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/video/SDL_renderer_gles.c
Expand Up @@ -661,8 +661,6 @@ GLES_RenderPoint(SDL_Renderer * renderer, int x, int y)
data->glDrawArrays(GL_POINTS, 0, 1);
data->glDisableClientState(GL_VERTEX_ARRAY);

data->glDisable(GL_BLEND);

return 0;
}

Expand All @@ -689,8 +687,6 @@ GLES_RenderLine(SDL_Renderer * renderer, int x1, int y1, int x2, int y2)
data->glDrawArrays(GL_LINES, 0, 2);
data->glDisableClientState(GL_VERTEX_ARRAY);

data->glDisable(GL_BLEND);

return 0;
}

Expand Down Expand Up @@ -726,8 +722,6 @@ GLES_RenderFill(SDL_Renderer * renderer, const SDL_Rect * rect)
data->glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
data->glDisableClientState(GL_VERTEX_ARRAY);

data->glDisable(GL_BLEND);

return 0;
}

Expand Down

0 comments on commit 794e6c0

Please sign in to comment.