Fix a compilation error on xcode 16.0 (#17645)

* Fix a compilation error on xcode 16.0
This commit is contained in:
James Chen
2024-09-18 15:30:06 +08:00
committed by GitHub
parent 90ff207db0
commit fe616ca55f
+1 -1
View File
@@ -150,7 +150,7 @@ private:
}
#if !defined(CC_SERVER_MODE)
if (CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION) {
if ((CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION) || FORCE_ENABLE_VALIDATION) {
device = ccnew gfx::DeviceValidator(device);
}
#endif