Removed check for fAddonImage in CanControlFrameBuffer() - according to Rudolf, this
method should return the correct value before the accelerant is cloned. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17318 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -469,7 +469,7 @@ BWindowScreen::SetSpace(uint32 space)
|
||||
bool
|
||||
BWindowScreen::CanControlFrameBuffer()
|
||||
{
|
||||
return (fAddonImage >= 0 && (fCardInfo.flags & B_FRAME_BUFFER_CONTROL));
|
||||
return (fCardInfo.flags & B_FRAME_BUFFER_CONTROL) != 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -805,7 +805,7 @@ BWindowScreen::SetupAccelerantHooks(bool enable)
|
||||
scaled_filtered_blit_rect = (screen_to_screen_scaled_filtered_blit)fGetAccelerantHook(B_SCREEN_TO_SCREEN_SCALED_FILTERED_BLIT, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (status == B_OK) {
|
||||
sFillRectHook = fill_rect;
|
||||
sBlitRectHook = blit_rect;
|
||||
|
||||
Reference in New Issue
Block a user