------------------------------------------------------------------------------- Toggle the "Specular" state -------------------------------------------------------------------------------
| 281 | // Toggle the "Specular" state |
| 282 | //------------------------------------------------------------------------------- |
| 283 | void ToggleSpecular() { |
| 284 | g_sOptions.bNoSpecular = !g_sOptions.bNoSpecular; |
| 285 | |
| 286 | storeRegKey(g_sOptions.bNoSpecular, "NoSpecular"); |
| 287 | |
| 288 | // update all specular materials |
| 289 | CMaterialManager::Instance().UpdateSpecularMaterials(); |
| 290 | } |
| 291 | |
| 292 | //------------------------------------------------------------------------------- |
| 293 | // Toggle the "RenderMats" state |
no test coverage detected