diff options
Diffstat (limited to 'src/unittests/render/mockgraphics.cc')
-rw-r--r-- | src/unittests/render/mockgraphics.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unittests/render/mockgraphics.cc b/src/unittests/render/mockgraphics.cc index c33953186..d2ba71f0a 100644 --- a/src/unittests/render/mockgraphics.cc +++ b/src/unittests/render/mockgraphics.cc @@ -268,7 +268,7 @@ bool MockGraphics::setVideoMode(const int w, const int h, { setMainFlags(w, h, scale, bpp, fs, hwaccel, resize, noFrame, allowHighDPI); - if ((mWindow = graphicsManager.createWindow(w, h, bpp, + if ((mWindow = GraphicsManager::createWindow(w, h, bpp, getSoftwareFlags())) == nullptr) { mRect.w = 0; |