Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/ccb499b80057a8241829a3ba11e5f87013739c8d
...commit
http://git.netsurf-browser.org/netsurf.git/commit/ccb499b80057a8241829a3ba11e5f87013739c8d
...tree
http://git.netsurf-browser.org/netsurf.git/tree/ccb499b80057a8241829a3ba11e5f87013739c8d
The branch, master has been updated
via ccb499b80057a8241829a3ba11e5f87013739c8d (commit)
from 1a170f9f322416e14b0b11b999b61efa6bcdf8fe (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=ccb499b80057a8241829a3ba11e5f87013739c8d
commit ccb499b80057a8241829a3ba11e5f87013739c8d
Author: Chris Young <[email protected]>
Commit: Chris Young <[email protected]>
Release guigfx drawhandle
diff --git a/frontends/amiga/bitmap.c b/frontends/amiga/bitmap.c
index 0fde677..32b9b12 100644
--- a/frontends/amiga/bitmap.c
+++ b/frontends/amiga/bitmap.c
@@ -531,17 +531,18 @@ static inline struct BitMap
*ami_bitmap_get_generic(struct bitmap *bitmap,
}
ami_bitmap_rgba_to_argb(bitmap);
- bitmap->drawhandle = ObtainDrawHandle(NULL,
+ if(bitmap->drawhandle = ObtainDrawHandle(NULL,
&rp, scrn->ViewPort.ColorMap,
GGFX_DitherMode, dithermode,
-
TAG_DONE);
-
- APTR ddh =
CreateDirectDrawHandle(bitmap->drawhandle,
-
bitmap->width, bitmap->height,
-
width, height, NULL);
-
- DirectDrawTrueColor(ddh, (ULONG
*)amiga_bitmap_get_buffer(bitmap), 0, 0, TAG_DONE);
- DeleteDirectDrawHandle(ddh);
+
TAG_DONE)) {
+ APTR ddh =
CreateDirectDrawHandle(bitmap->drawhandle,
+
bitmap->width, bitmap->height,
+
width, height, NULL);
+
+ DirectDrawTrueColor(ddh, (ULONG
*)amiga_bitmap_get_buffer(bitmap), 0, 0, TAG_DONE);
+ DeleteDirectDrawHandle(ddh);
+ ReleaseDrawHandle(bitmap->drawhandle);
+ }
ami_bitmap_argb_to_rgba(bitmap);
} else {
if(guigfx_warned == false) {
-----------------------------------------------------------------------
Summary of changes:
frontends/amiga/bitmap.c | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/frontends/amiga/bitmap.c b/frontends/amiga/bitmap.c
index 0fde677..32b9b12 100644
--- a/frontends/amiga/bitmap.c
+++ b/frontends/amiga/bitmap.c
@@ -531,17 +531,18 @@ static inline struct BitMap
*ami_bitmap_get_generic(struct bitmap *bitmap,
}
ami_bitmap_rgba_to_argb(bitmap);
- bitmap->drawhandle = ObtainDrawHandle(NULL,
+ if(bitmap->drawhandle = ObtainDrawHandle(NULL,
&rp, scrn->ViewPort.ColorMap,
GGFX_DitherMode, dithermode,
-
TAG_DONE);
-
- APTR ddh =
CreateDirectDrawHandle(bitmap->drawhandle,
-
bitmap->width, bitmap->height,
-
width, height, NULL);
-
- DirectDrawTrueColor(ddh, (ULONG
*)amiga_bitmap_get_buffer(bitmap), 0, 0, TAG_DONE);
- DeleteDirectDrawHandle(ddh);
+
TAG_DONE)) {
+ APTR ddh =
CreateDirectDrawHandle(bitmap->drawhandle,
+
bitmap->width, bitmap->height,
+
width, height, NULL);
+
+ DirectDrawTrueColor(ddh, (ULONG
*)amiga_bitmap_get_buffer(bitmap), 0, 0, TAG_DONE);
+ DeleteDirectDrawHandle(ddh);
+ ReleaseDrawHandle(bitmap->drawhandle);
+ }
ami_bitmap_argb_to_rgba(bitmap);
} else {
if(guigfx_warned == false) {
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org