Added error checking in _tnl_Begin to detect incomplete framebuffer.
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 16 Nov 2005 02:47:16 +0000 (02:47 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 16 Nov 2005 02:47:16 +0000 (02:47 +0000)
commitc731d6223c171ecc33a1ad6e5c109f506c8d4132
treeafd5319776f21399f6d343467c6f8a5000ac3422
parent0ad64faec79770ad97044257ab1baf0675187aea
Added error checking in _tnl_Begin to detect incomplete framebuffer.
Set new tnl->DiscardPrimitive field to true when such error is
detected to discard the glBegin/End primitive when flushing.
Added some new comments.
src/mesa/tnl/t_context.h
src/mesa/tnl/t_vtx_api.c