use === in some gl checks