diff options
author | Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> | 2023-01-17 16:06:00 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-01-19 09:42:34 +0000 |
commit | ddc721e15c6260e5a505f7e5fab2115e4cbd7c72 (patch) | |
tree | 160ea5493cebff61da53dae41d37a0a08f251b0a /src/mapi | |
parent | 0f5c8c3dc35561f23a5383cb05075898942ce0c5 (diff) |
glthread: fix glArrayElement handling
This must be marshalled synchronously or the attrib pointers' content
might change by the time we use them.
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8068
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20748>
Diffstat (limited to 'src/mapi')
-rw-r--r-- | src/mapi/glapi/gen/gl_API.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index 03793d95f9f..8ead49dbc3d 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/mapi/glapi/gen/gl_API.xml @@ -3189,7 +3189,7 @@ <enum name="CLIENT_VERTEX_ARRAY_BIT" value="0x00000002"/> <enum name="CLIENT_ALL_ATTRIB_BITS" value="0xFFFFFFFF"/> - <function name="ArrayElement" deprecated="3.1" exec="beginend"> + <function name="ArrayElement" deprecated="3.1" exec="beginend" marshal="sync"> <param name="i" type="GLint"/> <glx handcode="true"/> </function> |