mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
Fix a compilation error on xcode 16.0 (#17645)
* Fix a compilation error on xcode 16.0
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user