Reverted r21451, otherwise ParticlesII crashes after a while, if the
accelerant doesn't support moving the frame buffer. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32146 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -95,7 +95,7 @@ void NApplication::ReadyToRun()
|
|||||||
NWindowScreen *ws = new NWindowScreen(&ret);
|
NWindowScreen *ws = new NWindowScreen(&ret);
|
||||||
PRINT(("WindowScreen ctor returned. ret = %s\n", strerror(ret)));
|
PRINT(("WindowScreen ctor returned. ret = %s\n", strerror(ret)));
|
||||||
// exit if constructing the WindowScreen failed.
|
// exit if constructing the WindowScreen failed.
|
||||||
if((ws == NULL) || (ret < B_OK))
|
if((ws == NULL) || (ret < B_OK) || !ws->CanControlFrameBuffer())
|
||||||
{
|
{
|
||||||
//printf("the window screen was NULL, or there was an error\n");
|
//printf("the window screen was NULL, or there was an error\n");
|
||||||
PostMessage(B_QUIT_REQUESTED);
|
PostMessage(B_QUIT_REQUESTED);
|
||||||
|
|||||||
Reference in New Issue
Block a user