Fixed OpenGL error vs. warning messages.