Commit f56ba018 by Jonah Ryan-Davis Committed by Commit Bot

Fix TSAN build error

This typo was hidden behind a THREAD_SANITIZER flag so it was uncaught by the CQ. I verified this fix locally. Bug: chromium:1097082 Change-Id: I4e31d1d1253cbcaf292c9a588bcd54fc298e85b6 TBR=jmadill@chromium.org Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2254558Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarJonah Ryan-Davis <jonahr@google.com> Commit-Queue: Jonah Ryan-Davis <jonahr@google.com>
parent 34ca1ac7
...@@ -446,7 +446,7 @@ unsigned int RendererGL::getMaxWorkerContexts() ...@@ -446,7 +446,7 @@ unsigned int RendererGL::getMaxWorkerContexts()
bool RendererGL::hasNativeParallelCompile() bool RendererGL::hasNativeParallelCompile()
{ {
#ifdef THREAD_SANITIZER #ifdef THREAD_SANITIZER
if (mFeatures.disableNativeParallelCompile) if (mFeatures.disableNativeParallelCompile.enabled)
{ {
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment