mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 17:52:43 +03:00
Fix bitmap offsets in direct render mode by forcing use of BltBitMap
This commit is contained in:
parent
f6b1227c8d
commit
ef24e5ce9e
@ -690,7 +690,8 @@ static bool ami_bitmap(int x, int y, int width, int height, struct bitmap *bitma
|
||||
LOG(("[ami_plotter] ami_bitmap() got native bitmap"));
|
||||
#endif
|
||||
|
||||
if((GfxBase->LibNode.lib_Version >= 53) && (palette_mapped == false))
|
||||
if((GfxBase->LibNode.lib_Version >= 53) && (palette_mapped == false) &&
|
||||
(nsoption_bool(direct_render) == false))
|
||||
{
|
||||
#ifdef __amigaos4__
|
||||
uint32 comptype = COMPOSITE_Src_Over_Dest;
|
||||
|
@ -1272,8 +1272,9 @@ static void ami_tree_redraw_req_dr(void *p)
|
||||
y = pos_y;
|
||||
}
|
||||
|
||||
tree_draw(twin->tree, - x, - y,
|
||||
bbox->Left, bbox->Top, width, height, &ctx);
|
||||
tree_draw(twin->tree, 0 - pos_x, 0 - pos_y,
|
||||
atrr_data->x, atrr_data->y,
|
||||
atrr_data->width, atrr_data->height, &ctx);
|
||||
|
||||
FreeVec(atrr_data);
|
||||
ami_update_pointer(twin->win, GUI_POINTER_DEFAULT);
|
||||
|
Loading…
Reference in New Issue
Block a user