Fixed OpenGL ES primitive alpha blending.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404069
This commit is contained in:
parent
069b183a08
commit
ebd6bbf4d0
1 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue