Removed GL error check from main.c, for now.