mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
swr: fix icc compile error
ICC doesn't like the use of nullptr (std::nullptr_t) argument in p_atomic_set. GCC and clang don't complain. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99119 Reviewed-by: Tim Rowley <timothy.o.rowley@intel.com>
This commit is contained in:
parent
e7279f16a0
commit
9e35426731
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ swr_fence_do_work(struct swr_fence *fence)
|
|||
work = fence->work.head.next;
|
||||
/* Immediately clear the head so any new work gets added to a new work
|
||||
* queue */
|
||||
p_atomic_set(&fence->work.head.next, nullptr);
|
||||
p_atomic_set(&fence->work.head.next, 0);
|
||||
p_atomic_set(&fence->work.tail, &fence->work.head);
|
||||
p_atomic_set(&fence->work.count, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue