Remove the "Tag" field in struct Bitmap since it is of no real use.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5565 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2012-02-27 20:45:14 +00:00
parent d46c3fc5a9
commit 95eb20dc37
3 changed files with 12 additions and 11 deletions

View File

@@ -66,7 +66,6 @@ Bitmap* NewBitmap (unsigned Width, unsigned Height)
/* Initialize the data */
B->Type = bmUnknown;
B->Name = EmptyStrBuf;
B->Tag = 0;
B->Width = Width;
B->Height = Height;
B->Pal = 0;
@@ -80,8 +79,7 @@ Bitmap* NewBitmap (unsigned Width, unsigned Height)
void FreeBitmap (Bitmap* B)
/* Free a dynamically allocated bitmap */
{
/* Free the format specific data, the palette and then the bitmap */
xfree (B->Tag);
/* Free the palette and then the bitmap */
xfree (B->Pal);
xfree(B);
}