[Mesa-dev] [PATCH] mesa: Avoid segfault when getting an unbound transform feedback buffer name.
eric at anholt.net
Tue Jan 3 18:36:55 PST 2012
On Tue, 3 Jan 2012 14:11:42 -0800, Paul Berry <stereotype441 at gmail.com> wrote:
> Previously we were using
> gl_transform_feedback_object::Buffers[i]->Name to service an indexed
> get request for GL_TRANSFORM_FEEDBACK_BUFFER_BINDING. However, if no
> buffer has been bound, gl_transform_feedback_object::Buffers[i] is
> NULL, so this was causing a segfault.
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the mesa-dev