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:
@@ -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());
|
||||||
@@ -372,7 +369,6 @@ Flurry::DirectDraw(int32 frame)
|
|||||||
void
|
void
|
||||||
Flurry::DirectConnected(direct_buffer_info* info)
|
Flurry::DirectConnected(direct_buffer_info* info)
|
||||||
{
|
{
|
||||||
// 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