mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 23:12:21 +00:00
[CHG] Fixed the rotation's handle of tiled images.
This commit is contained in:
parent
a6df7ea613
commit
e4152ff067
1 changed files with 1 additions and 0 deletions
|
@ -288,6 +288,7 @@ void GRRLIB_InitTileSet(struct GRRLIB_texImg *tex, unsigned int tilew, unsigned
|
||||||
if (tileh) // Avoid division by zero
|
if (tileh) // Avoid division by zero
|
||||||
tex->nbtileh = tex->h / tileh;
|
tex->nbtileh = tex->h / tileh;
|
||||||
tex->tilestart = tilestart;
|
tex->tilestart = tilestart;
|
||||||
|
tex->tiledtex = true;
|
||||||
GRRLIB_SetHandle( tex, 0, 0 );
|
GRRLIB_SetHandle( tex, 0, 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue