app: allow to create TileManagers with >4 bpp

This commit is contained in:
Michael Natterer
2012-04-22 20:24:11 +02:00
parent 8a55b13577
commit 1cec6565c9

View File

@ -98,7 +98,7 @@ tile_manager_new (gint width,
TileManager *tm;
g_return_val_if_fail (width > 0 && height > 0, NULL);
g_return_val_if_fail (bpp > 0 && bpp <= 4, NULL);
g_return_val_if_fail (bpp > 0, NULL);
tm = g_slice_new0 (TileManager);