mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
Removed the call to glPolygonMode, unavailable in OpenGL ES.
This commit is contained in:
parent
de791c05dc
commit
d908ffa498
@ -321,7 +321,6 @@ void RenderTarget::resetGLStates()
|
|||||||
glCheck(glEnableClientState(GL_VERTEX_ARRAY));
|
glCheck(glEnableClientState(GL_VERTEX_ARRAY));
|
||||||
glCheck(glEnableClientState(GL_COLOR_ARRAY));
|
glCheck(glEnableClientState(GL_COLOR_ARRAY));
|
||||||
glCheck(glEnableClientState(GL_TEXTURE_COORD_ARRAY));
|
glCheck(glEnableClientState(GL_TEXTURE_COORD_ARRAY));
|
||||||
glCheck(glPolygonMode(GL_FRONT_AND_BACK, GL_FILL));
|
|
||||||
m_cache.glStatesSet = true;
|
m_cache.glStatesSet = true;
|
||||||
|
|
||||||
// Apply the default SFML states
|
// Apply the default SFML states
|
||||||
|
Loading…
Reference in New Issue
Block a user