mesa/src
Brian Paul 04341e51ce svga: reset vertex buffer offset in svga_release_user_upl_buffers()
This function releases the buffer that contains user-space vertex data.
The buffer_offset field points into that buffer.  So reset the
buffer_offset to zero when we release the buffer so that subsequent
draws don't inadvertantly get a bad offset.

Fixes error messages / failed assertions (in the draw module's bounds/size
checking code) when running piglit's polygon-mode test.

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
2012-01-26 11:38:30 -07:00
..
egl automake: src/egl/wayland 2012-01-26 10:07:11 +01:00
gallium svga: reset vertex buffer offset in svga_release_user_upl_buffers() 2012-01-26 11:38:30 -07:00
gbm gbm: Add back link flags for udev, dl and glapi 2012-01-26 13:23:25 +01:00
getopt getopt: Make code more portable. 2011-01-12 16:54:21 +00:00
glsl glsl: Don't use newlocale on Haiku 2012-01-24 11:00:42 -07:00
glu scons: Add Haiku build support 2012-01-17 20:01:14 +00:00
glx Revert "Always build shared glapi" 2012-01-24 11:34:42 -05:00
mapi mapi: Make initMagic unsigned. 2012-01-26 17:33:33 +00:00
mesa nouveau: include s_context.h to silence missing prototype warnings 2012-01-26 08:16:54 -07:00
Makefile
SConscript scons: Add Haiku build support 2012-01-17 20:01:14 +00:00