From ab2391ade1592936b95b106d17a77ff09ba852a8 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 5 Jul 2009 18:15:55 +0000 Subject: Don't make the global bitmap a friend of the screen bitmap, instead allocate it so that alpha blitting and Cairo operations work correctly. Running NetSurf on a 16-bit screen is now possible without bits of the display missing or obliterated, however it does suffer a small performance hit. svn path=/trunk/netsurf/; revision=8331 --- amiga/gui_options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'amiga/gui_options.c') diff --git a/amiga/gui_options.c b/amiga/gui_options.c index 18215b88b..865629e62 100755 --- a/amiga/gui_options.c +++ b/amiga/gui_options.c @@ -498,7 +498,7 @@ void ami_gui_opts_open(void) GA_RelVerify, TRUE, GA_Disabled,screenmodedisabled, GETSCREENMODE_DisplayID,screenmodeid, - GETSCREENMODE_MinDepth, 24, + GETSCREENMODE_MinDepth, 16, GETSCREENMODE_MaxDepth, 32, GetScreenModeEnd, LAYOUT_AddChild, gow->gadgets[GID_OPTS_SCREENNAME] = StringObject, -- cgit v1.2.3