diff options
author | Petr Sebor <petr@scssoft.com> | 2013-11-11 16:19:00 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2013-11-12 11:56:30 -0700 |
commit | f2b844f59d86c5971118bfccb00ddc5a1b69797a (patch) | |
tree | 97b6ed810e32fb772a44ac1ac1dd6c90c5bda0d0 /src/gallium/auxiliary/os/os_thread.h | |
parent | 76317355bd8adca1fb5ef33b021962413db0c69d (diff) | |
download | external_mesa3d-f2b844f59d86c5971118bfccb00ddc5a1b69797a.zip external_mesa3d-f2b844f59d86c5971118bfccb00ddc5a1b69797a.tar.gz external_mesa3d-f2b844f59d86c5971118bfccb00ddc5a1b69797a.tar.bz2 |
meta: enable vertex attributes in the context of the newly created array object
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.
Cc: "9.2" <mesa-stable@lists.freedesktop.org>
Cc: "10.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Petr Sebor <petr@scssoft.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/os/os_thread.h')
0 files changed, 0 insertions, 0 deletions