added (fixed for now) enabling colorkeying and hor.and ver. filtering. Temporary, until SetViewOverlay()'s 'options' gets feeded here. The setting now in use should be perfectly safe and fixes the clipping and cursor (aparant) problems while using overlay on most gfx drivers. Axel, please review and update as needed ;-). Hope you don't mind this workaround for now..
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17297 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c923ce2ed2
commit
7e96e63a20
@ -809,6 +809,10 @@ AccelerantHWInterface::UpdateOverlay(Overlay* overlay)
|
||||
window.green.mask = 0xff;
|
||||
window.blue.mask = 0xff;
|
||||
window.alpha.mask = 0xff;
|
||||
// TODO: we need the 'uint32 options' from BView::SetViewOverlay() here
|
||||
// for now using commonly used settings (should be 'safe')
|
||||
window.flags =
|
||||
B_OVERLAY_COLOR_KEY | B_OVERLAY_VERTICAL_FILTERING | B_OVERLAY_HORIZONTAL_FILTERING;
|
||||
|
||||
fAccConfigureOverlay(overlay->OverlayToken(), buffer, &window, &view);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user