LWJGL Forum

Archive => Resolved Bugs/RFE => Topic started by: piotrp on October 20, 2014, 20:15:43

Title: [FIXED] glCompressedTexImage1/2/3D do not accept null
Post by: piotrp 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
Title: Re: glCompressedTexImage1/2/3D do not accept null
Post by: spasi on November 01, 2014, 18:01:26
Fixed (https://github.com/LWJGL/lwjgl/pull/97).