Removed check for gl error for now