From: Michael V. <bri...@lo...> - 2000-07-03 16:00:46
|
On Mon, Jul 03, 2000 at 08:14:57AM -0500, Stephen J Baker wrote: > Since passing NULL to glReadPixels is illegal, you are lucky (perhaps) > not to get a core dump. The effect of passing garbage pointers to OpenGL This begs a question or two: 1) why does Mesa not barf on NULL textures to glTexImage2D()? ... Looking at the source it seems this is allowed. 2) where does the spec spell out when NULL pointers should or should not generate errors Daniel and I looked in the Red and Blue books, and the Spec, but didn't see anything, offhand. m. -- Programmer "Ha ha." "Ha ha." "What are you laughing at?" Loki Software "Just the horror of being alive." http://lokigames.com/~briareos/ - Tony Millionaire |