mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-29 12:20:53 +00:00
Changed: Don't need to change _PolygonSmooth if value is the same
This commit is contained in:
parent
a81b98d4f7
commit
c5e45c4d5e
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue