Home
last modified time | relevance | path

Searched refs:xmodnice (Results 1 – 1 of 1) sorted by relevance

/dports/games/jfsw/jfsw-c434002/jfbuild/src/
H A Dpolymost.c1012 int xx, yy, xi, d0, u0, v0, d1, u1, v1, xmodnice = 0, ymulnice = 0, dorot; in drawpoly() local
1403 tsizxm1 = tsizx-1; xmodnice = (!(tsizxm1&tsizx)); in drawpoly()
1405 if ((method & METH_CLAMPED) && (!xmodnice)) //Sprites don't need a mod on texture coordinates in drawpoly()
1406 { xmodnice = 1; for(tsizxm1=1;tsizxm1<tsizx;tsizxm1=(tsizxm1<<1)+1); } in drawpoly()
1482 if (xmodnice&ymulnice) //both u&v texture sizes are powers of 2 :) in drawpoly()
1528 if (xmodnice) //both u&v texture sizes are powers of 2 :) in drawpoly()