[FIXED] glCompressedTexImage1/2/3D do not accept null

Started by piotrp, October 20, 2014, 20:15:43

Previous topic - Next topic

piotrp

Hi,

Currently it is not possible to pass null as a buffer to glCompressedTexImage3D. Is it a bug or an intended behaviour?
I use glCompressedTexImage3D to create an array texture and then glCompressedTexSubImage3D to pass the data. As a result I need to pass a dummy buffer to glCompressedTexImage3D to make this scenario work which is kind of silly.
Would you please clarify/fix?

Cheers,
Piotr

spasi