mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
Only check that DDPF_FOURCC flag is set, not that it's the only flag
This commit is contained in:
@@ -925,7 +925,7 @@ dds_data load_dds_from_file(FILE *f)
|
||||
return error;
|
||||
}
|
||||
}
|
||||
else if(header.ddspf.dwFlags == DDPF_FOURCC)
|
||||
else if(header.ddspf.dwFlags & DDPF_FOURCC)
|
||||
{
|
||||
switch(header.ddspf.dwFourCC)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user