mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-19 18:52:39 +03:00
Amiga: report correct depth
This commit is contained in:
parent
d39ae4a102
commit
474fd81bf6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user