Fix the twiddled flag
This commit is contained in:
parent
16d949bfbc
commit
c5cb41f1f1
|
@ -45,7 +45,7 @@ int ImageLoad(char *filename, Image *image) {
|
|||
|
||||
fread(&header, sizeof(header), 1, file);
|
||||
|
||||
GLboolean twiddled = (header.type & (1 << 26)) > 0;
|
||||
GLboolean twiddled = (header.type & (1 << 26)) < 1;
|
||||
GLboolean compressed = (header.type & (1 << 30)) > 0;
|
||||
GLboolean mipmapped = (header.type & (1 << 31)) > 0;
|
||||
GLboolean strided = (header.type & (1 << 25)) > 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user