Flurry: Show a preview

Also, we are safe to enable direct mode now.

This is untested due to this screensaver currently crashing but it should
work once #10206 is fixed.
This commit is contained in:
John Scipione 2014-02-23 02:12:39 -05:00
parent 823781426f
commit 61935d56e6

View File

@ -334,9 +334,6 @@ Flurry::StartSaver(BView* view, bool preview)
{
status_t result = B_ERROR;
if (preview)
return result;
SetTickSize(50000);
fFlurryView = new (std::nothrow) FlurryView(view->Bounds());
@ -374,8 +371,8 @@ Flurry::DirectConnected(direct_buffer_info* info)
{
// Enable or disable direct rendering
if (fFlurryView != NULL) {
fFlurryView->DirectConnected(info);
fFlurryView->EnableDirectMode(true);
//fFlurryView->DirectConnected(info);
//fFlurryView->EnableDirectMode(true);
}
}