mirror of
https://github.com/yawut/SDL.git
synced 2026-08-26 10:44:39 -05:00
Fixed OpenGL ES primitive alpha blending.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user