Skip to content

Commit

Permalink
Removed deprecated texture size check from GL_Upload8
Browse files Browse the repository at this point in the history
There was an issue with the map s3m1_fw (from snack3 mod)
  • Loading branch information
j0zzz committed May 31, 2024
1 parent 16cd6f2 commit 49ee1f0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions trunk/gl_draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1935,9 +1935,6 @@ void GL_Upload8 (byte *data, int width, int height, int mode)
}
else
{
if (size & 3)
Sys_Error ("GL_Upload8: bad size (%d)", size);

for (i = 0 ; i < size ; i++)
trans[i] = table[data[i]];
}
Expand Down

0 comments on commit 49ee1f0

Please sign in to comment.