* fixed narrowing compile error with clang

* case value evaluates to -1, which cannot be narrowed to type 'GLenum' (aka 'unsigned int')