mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
wgl: Fix unintentional assignment on assert.
Spotted by Nanley Chery. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4427 Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Charmaine Lee <charmainel@vmware.com> Reviewed-by: Neha Bhende <bhenden@vmware.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22706>
This commit is contained in:
parent
5f43f866a2
commit
9105e771af
1 changed files with 1 additions and 1 deletions
|
|
@ -306,7 +306,7 @@ stw_tls_get_data(void)
|
|||
}
|
||||
|
||||
assert(data);
|
||||
assert(data->dwThreadId = GetCurrentThreadId());
|
||||
assert(data->dwThreadId == GetCurrentThreadId());
|
||||
assert(data->next == NULL);
|
||||
|
||||
return data;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue