http://bugs.freedesktop.org/show_bug.cgi?id=11580





------- Comment #2 from [EMAIL PROTECTED]  2007-07-13 07:43 PST -------
Mesa is generating a GL_INVALID_OPERATION in glDrawPixels() when drawing
GL_DEPTH_COMPONENT pixels when there's no depth buffer (if you set MESA_DEBUG=1
you'll see the error message).  So, the glDrawPixels is a no-op.

Now, the GL spec says that drawing GL_STENCIL_INDEX values to a non-existant
stencil buffer generates GL_INVALID_OPERATION, but it doesn't say that about
depth pixels.

I just tried NVIDIA's driver and they generate an error just like Mesa for the
GL_DEPTH_COMPONENT case.  I guess I should change Mesa to follow the spec, but
it's kind of a corner case.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to