added gl texture2d, and fixed linting