more use of abstracted function
This commit is contained in:
parent
0d8aca4f12
commit
2eeb2c07bf
|
@ -382,7 +382,7 @@ void amiga_icon_superimpose_favicon_internal(struct hlcache_handle *icon, struct
|
|||
{
|
||||
if ((icon != NULL) && (content_get_bitmap(icon) != NULL))
|
||||
{
|
||||
bm = ami_getcachenativebm(content_get_bitmap(icon), 16, 16, NULL);
|
||||
bm = ami_bitmap_get_native(content_get_bitmap(icon), 16, 16, NULL);
|
||||
}
|
||||
|
||||
if(bm)
|
||||
|
@ -503,7 +503,7 @@ struct DiskObject *amiga_icon_from_bitmap(struct bitmap *bm)
|
|||
|
||||
if(bm)
|
||||
{
|
||||
bitmap = ami_getcachenativebm(bm, THUMBNAIL_WIDTH,
|
||||
bitmap = ami_bitmap_get_native(bm, THUMBNAIL_WIDTH,
|
||||
THUMBNAIL_HEIGHT, NULL);
|
||||
bm->icondata = AllocVec(THUMBNAIL_WIDTH * 4 * THUMBNAIL_HEIGHT,
|
||||
MEMF_CLEAR);
|
||||
|
|
Loading…
Reference in New Issue