Changed: Don't need to change _PolygonSmooth if value is the same

hg/feature/sse2
kervala 11 years ago
parent 166607f644
commit af1721a0a4

@ -2252,6 +2252,8 @@ void CDriverGL::enablePolygonSmoothing(bool smooth)
{
H_AUTO_OGL(CDriverGL_enablePolygonSmoothing);
if (_PolygonSmooth == smooth) return;
#ifndef USE_OPENGLES
if(smooth)
glEnable(GL_POLYGON_SMOOTH);

Loading…
Cancel
Save