Flurry: Show a preview... try number two

Also, we are safe to enable direct mode now (it already was)

This is untested due to this screensaver currently crashing but it should
work once #10206 is fixed.

Remove obvious comment in DirectConnected
This commit is contained in:
John Scipione
2014-02-23 04:10:09 -05:00
parent 25952f8e92
commit cbc568498d
@@ -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());
@@ -372,7 +369,6 @@ Flurry::DirectDraw(int32 frame)
void
Flurry::DirectConnected(direct_buffer_info* info)
{
// Enable or disable direct rendering
if (fFlurryView != NULL) {
fFlurryView->DirectConnected(info);
fFlurryView->EnableDirectMode(true);