TINYGL: Use the right delete
TINYGL: Do not check the same conditions twice
TINYGL: Remove default case as the current cases already represent all possible values
TINYGL: Add obviously missing break
GRIM: Add the error on Missing materials back in