[Mesa-dev] [PATCH] meta: enable vertex attributes in the context of the newly created array object

Brian Paul brianp at vmware.com
Mon Nov 11 15:32:47 PST 2013


On 11/11/2013 04:19 PM, Petr Sebor wrote:
> Otherwise, the function would enable generic vertex attributes 0 and 1 of the
> array object it does not own. This was causing crashes in Euro Truck Simulator 2,
> since the incorrectly enabled generic attribute 0 in the foreign context got
> precedence before vertex position attribute at later time, leading to NULL
> pointer dereference.
>
> Signed-off-by: Petr Sebor <petr at scssoft.com>

Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the mesa-dev mailing list