Amiga: report correct depth

This commit is contained in:
Chris Young 2021-06-28 16:58:11 +01:00
parent d39ae4a102
commit 474fd81bf6

View File

@ -26,9 +26,6 @@ struct BitMap *ami_rtg_allocbitmap(ULONG width, ULONG height, ULONG depth,
ULONG flags, struct BitMap *friend, RGBFTYPE format)
{
if(P96Base == NULL) {
#ifndef __amigaos4__
if(depth > 8) depth = 8;
#endif
return AllocBitMap(width, height, depth, flags, friend);
} else {
return p96AllocBitMap(width, height, depth, flags, friend, format);