I'm generating an image using quartz 2d and I want to use it as an opengl texture. The tricky part is that I want to use as few bits per pixel as possible, so I'm creating cgContext as following:I'm generating an image using quartz 2d and I w
I'm generating an image using quartz 2d and I want to use it as an opengl texture. The tricky part is that I want to use as few bits per pixel as possible, so I'm creating cgContext as following:I'm generating an image using quartz 2d and I w