Hello Guest

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

  • 1 Replies
  • 2419 Views
[FIXED] glCompressedTexImage1/2/3D do not accept null
« on: October 20, 2014, 20:15:43 »
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
« Last Edit: November 01, 2014, 18:02:53 by spasi »

*

Offline spasi

  • *****
  • 2169
    • WebHotelier
Re: glCompressedTexImage1/2/3D do not accept null
« Reply #1 on: November 01, 2014, 18:01:26 »