openglonmetal / MGL

OpenGL 4.6 on Metal
Apache License 2.0
781 stars 30 forks source link

fix handling of 2D 1x1 textures #25

Closed conversy closed 2 years ago

conversy commented 2 years ago

I use a dummy 1x1 texture in my code, which I think is valid opengl. This change make it pass, though I think the whole logic of this code might not be correct.