mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-06 12:21:54 +00:00
Only check that DDPF_FOURCC flag is set, not that it's the only flag
This commit is contained in:
1 parent
a01b3badfa
commit
5fccf87d43
1 file changed
+1
-1
@@ -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