Skip to content

Commit

Permalink
Update bspfile.h
Browse files Browse the repository at this point in the history
  • Loading branch information
seedee committed Jul 9, 2024
1 parent 7d0536d commit 422057b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdhlt/common/bspfile.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@

// texture size limit

#define MAX_TEXTURE_SIZE 348972 //((256 * 256 * sizeof(short) * 3) / 2) //stop compiler from warning 512*512 texture. --vluzacn
#define MAX_TEXTURE_SIZE 348972 //Bytes in a 512x512 image((256 * 256 * sizeof(short) * 3) / 2) //stop compiler from warning 512*512 texture. --vluzacn
// this is arbitrary, and needs space for the largest realistic texture plus
// room for its mipmaps.' This value is primarily used to catch damanged or invalid textures
// in a wad file
Expand Down

0 comments on commit 422057b

Please sign in to comment.