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:
@@ -334,9 +334,6 @@ Flurry::StartSaver(BView* view, bool preview)
|
|||||||
{
|
{
|
||||||
status_t result = B_ERROR;
|
status_t result = B_ERROR;
|
||||||
|
|
||||||
if (preview)
|
|
||||||
return result;
|
|
||||||
|
|
||||||
SetTickSize(50000);
|
SetTickSize(50000);
|
||||||
|
|
||||||
fFlurryView = new (std::nothrow) FlurryView(view->Bounds());
|
fFlurryView = new (std::nothrow) FlurryView(view->Bounds());
|
||||||
@@ -374,8 +371,8 @@ Flurry::DirectConnected(direct_buffer_info* info)
|
|||||||
{
|
{
|
||||||
// Enable or disable direct rendering
|
// Enable or disable direct rendering
|
||||||
if (fFlurryView != NULL) {
|
if (fFlurryView != NULL) {
|
||||||
fFlurryView->DirectConnected(info);
|
//fFlurryView->DirectConnected(info);
|
||||||
fFlurryView->EnableDirectMode(true);
|
//fFlurryView->EnableDirectMode(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user