mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 06:56:40 +00:00
Fix clang compilation
This commit is contained in:
@@ -696,7 +696,7 @@ bool ReplayController::SaveTexture(const TextureSave &saveData, const char *path
|
||||
}
|
||||
else
|
||||
{
|
||||
if(sd.sample.sampleIndex >= 0)
|
||||
if(sd.sample.sampleIndex != ~0U)
|
||||
sd.sample.sampleIndex = RDCCLAMP((uint32_t)sd.sample.sampleIndex, 0U, td.msSamp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user