Blender Git Loki
Git Commits -> Revision 6577117
Revision 6577117 by Mitchell Stokes (master) November 22, 2012, 06:11 (GMT) |
BGE: Removing some glIsEnabled() calls from DisableForText() in KX_BlenderGL.cpp. Use of glIsEnabled() is discouraged since it causes a potential sync with the graphics card. Also, it's faster to just always use glDisable() (even if that feature is already disabled) then to check if it's enabled first. |
Commit Details:
Full Hash: 6577117c4e6f7977602c67fa4f673c311efbe88c
SVN Revision: 52460
Parent Commit: b7f5c1c
Lines Changed: +8, -14
1 Modified Path:
/source/gameengine/BlenderRoutines/KX_BlenderGL.cpp (+8, -14) (Diff)