(svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style

This fixes also FS#1450
This commit is contained in:
skidd13
2007-11-19 20:40:14 +00:00
parent 26224adf78
commit 7a4d96f629
10 changed files with 9 additions and 18 deletions

View File

@@ -47,7 +47,7 @@ static SpriteCache *AllocateSpriteCache(uint index)
{
if (index >= _spritecache_items) {
/* Add another 1024 items to the 'pool' */
uint items = ALIGN(index + 1, 1024);
uint items = Align(index + 1, 1024);
DEBUG(sprite, 4, "Increasing sprite cache to %d items (%d bytes)", items, items * sizeof(*_spritecache));
@@ -436,7 +436,7 @@ void* AllocSprite(size_t mem_req)
/* Align this to an uint32 boundary. This also makes sure that the 2 least
* bits are not used, so we could use those for other things. */
mem_req = ALIGN(mem_req, sizeof(uint32));
mem_req = Align(mem_req, sizeof(uint32));
for (;;) {
MemBlock* s;