mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Revert a change in xdelta3.c done in r2683.
git-svn-id: https://svn.eduke32.com/eduke32@2732 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
56114a608d
commit
1404174584
1 changed files with 1 additions and 4 deletions
|
@ -2654,13 +2654,10 @@ xd3_set_source (xd3_stream *stream,
|
||||||
* calculations are cheap. */
|
* calculations are cheap. */
|
||||||
if (!xd3_check_pow2 (src->blksize, &shiftby) == 0)
|
if (!xd3_check_pow2 (src->blksize, &shiftby) == 0)
|
||||||
{
|
{
|
||||||
#if XD3_DEBUG
|
|
||||||
int check;
|
int check;
|
||||||
|
src->blksize = xd3_pow2_roundup(src->blksize);
|
||||||
check = xd3_check_pow2 (src->blksize, &shiftby);
|
check = xd3_check_pow2 (src->blksize, &shiftby);
|
||||||
XD3_ASSERT (check == 0);
|
XD3_ASSERT (check == 0);
|
||||||
#else
|
|
||||||
xd3_check_pow2 (src->blksize, &shiftby);
|
|
||||||
#endif
|
|
||||||
IF_DEBUG1 (DP(RINT "raising srcblksz to %u\n", src->blksize));
|
IF_DEBUG1 (DP(RINT "raising srcblksz to %u\n", src->blksize));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue