mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Headless fix
This commit is contained in:
parent
edfdf7e606
commit
667642ca52
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ void BFApp::Process()
|
|||
RenderWindow* headRenderWindow = NULL;
|
||||
|
||||
float physRefreshRate = 0;
|
||||
if (!mRenderDevice->mRenderWindowList.IsEmpty())
|
||||
if ((mRenderDevice != NULL) && (!mRenderDevice->mRenderWindowList.IsEmpty()))
|
||||
{
|
||||
headRenderWindow = mRenderDevice->mRenderWindowList[0];
|
||||
physRefreshRate = headRenderWindow->GetRefreshRate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue