Remove incorrect test from mmAllocMem.

0 is a perfectly valid alignment shift, see e.g. driTexturesGone() which was
broken by this.
This commit is contained in:
Michel Dänzer 2008-09-22 11:48:26 +02:00 committed by Jonathan White
parent c9122c0c03
commit 5106f1b9ac
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ mmAllocMem(struct mem_block *heap, unsigned size, unsigned align2, unsigned star
unsigned startofs = 0;
unsigned endofs;
if (!heap || !align2 || !size)
if (!heap || !size)
return NULL;
for (p = heap->next_free; p != heap; p = p->next_free) {