Commit ebd6bbf4 authored by Mike Gorchak's avatar Mike Gorchak

Fixed OpenGL ES primitive alpha blending.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404069
parent 069b183a
......@@ -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;
}
......@@ -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;
}
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment