path: root/src/gallium
diff options
authorPetr Sebor <>2013-11-11 16:19:00 -0700
committerIan Romanick <>2013-11-15 13:39:38 -0800
commit2a3dcece7257722cdaa71978e489a1600849b2dd (patch)
tree3af962a4a111d9c0f7484abe24f89cd4c0cc0159 /src/gallium
parentaccc276df2d32b46d086bc5beb9d5d5f5224a7a5 (diff)
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" <> Cc: "10.0" <> Signed-off-by: Petr Sebor <> Reviewed-by: Ian Romanick <> Reviewed-by: Brian Paul <> (cherry picked from commit f2b844f59d86c5971118bfccb00ddc5a1b69797a)
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions