mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Merge pull request #150 from N1xx1/patch-1
Segmentation Fault for pointer being null.
This commit is contained in:
commit
9249d67048
|
@ -211,7 +211,7 @@ void ViewController::render(const Eigen::Affine3f& parentTrans)
|
|||
Eigen::Vector3f viewEnd = trans.inverse() * Eigen::Vector3f((float)Renderer::getScreenWidth(), (float)Renderer::getScreenHeight(), 0);
|
||||
|
||||
// draw systemlist
|
||||
mSystemListView->render(trans);
|
||||
if(mSystemListView) mSystemListView->render(trans);
|
||||
|
||||
// draw gamelists
|
||||
for(auto it = mGameListViews.begin(); it != mGameListViews.end(); it++)
|
||||
|
|
Loading…
Reference in a new issue