Made gl error checker assert