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

Petr Sebor petr at scssoft.com
Mon Nov 11 15:57:40 PST 2013


Not having push access rights, I hope this fix gets merged soon.
Hopefully a stable release candidate as well.

Thanks,
Petr

On 12.11.2013 00:32, Brian Paul wrote:
> 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>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list