mirror of
https://github.com/AntonioND/nitro-engine.git
synced 2025-06-18 16:45:33 -04:00
examples: Prevent using an empty shininess table
This commit is contained in:
parent
567c30344b
commit
65bdac84a5
@ -116,7 +116,7 @@ int main(void)
|
||||
|
||||
if (keys_down & KEY_L)
|
||||
{
|
||||
if (shininess > NE_SHININESS_NONE)
|
||||
if (shininess > NE_SHININESS_LINEAR)
|
||||
shininess--;
|
||||
}
|
||||
if (keys_down & KEY_R)
|
||||
|
Loading…
Reference in New Issue
Block a user