Fix the twiddled flag

This commit is contained in:
Luke Benstead 2018-08-07 20:34:07 +01:00
parent 16d949bfbc
commit c5cb41f1f1

View File

@ -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;