due to mem fix, DDS file size is correct; assert that verifies that was moved here from ogl_tex and un-commented-out
This was SVN commit r931.
This commit is contained in:
parent
5026705fe8
commit
58ae20116a
@ -209,8 +209,8 @@ fail:
|
||||
break;
|
||||
}
|
||||
|
||||
if(file_size < hdr_size + img_size)
|
||||
err = "image not completely loaded";
|
||||
if(file_size != hdr_size + img_size)
|
||||
err = "file size mismatch";
|
||||
if(w % 4 || h % 4)
|
||||
err = "image dimensions not padded to S3TC block size";
|
||||
if(!w || !h)
|
||||
|
Loading…
Reference in New Issue
Block a user