GSDevice: Ignore -Wignored-qualifiers for CAS

warning: 'restrict' type qualifier on return type has no effect [-Wignored-qualifiers]
This commit is contained in:
Stenzek 2022-12-26 20:14:08 +10:00 committed by refractionpcsx2
parent 5999a1a62e
commit 78a66147f1
1 changed files with 1 additions and 0 deletions

View File

@ -510,6 +510,7 @@ void GSDevice::SetHWDrawConfigForAlphaPass(GSHWDrawConfig::PSSelector* ps,
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-function"
#pragma clang diagnostic ignored "-Wignored-qualifiers"
#endif
// Kinda grotty, but better than copy/pasting the relevant bits in..