summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-10-16 01:03:02 +0300
committerAndrei Karas <akaras@inbox.ru>2019-10-16 01:03:02 +0300
commite15da561988948de26c80105dc9762943009b9e7 (patch)
tree717dbdffe08daf6a1832ce79043697d3f7e62a23 /src/render
parent71cfaf012217cf3bbbc39207a12131b748535fcc (diff)
downloadmanaverse-e15da561988948de26c80105dc9762943009b9e7.tar.gz
manaverse-e15da561988948de26c80105dc9762943009b9e7.tar.bz2
manaverse-e15da561988948de26c80105dc9762943009b9e7.tar.xz
manaverse-e15da561988948de26c80105dc9762943009b9e7.zip
Fix code style, ignore some warning in clang-tidy
Diffstat (limited to 'src/render')
-rw-r--r--src/render/graphics.cpp2
-rw-r--r--src/render/sdl2graphics.cpp2
-rw-r--r--src/render/sdl2softwaregraphics.cpp2
-rw-r--r--src/render/sdlgraphics.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp
index 7bbb75822..cd88c25dd 100644
--- a/src/render/graphics.cpp
+++ b/src/render/graphics.cpp
@@ -283,7 +283,7 @@ bool Graphics::setOpenGLMode() restrict2
{
#ifdef USE_OPENGL
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
- if ((mWindow = graphicsManager.createWindow(
+ if ((mWindow = GraphicsManager::createWindow(
mActualWidth, mActualHeight,
mBpp, getOpenGLFlags())) == nullptr)
{
diff --git a/src/render/sdl2graphics.cpp b/src/render/sdl2graphics.cpp
index bd94b2380..36c757005 100644
--- a/src/render/sdl2graphics.cpp
+++ b/src/render/sdl2graphics.cpp
@@ -752,7 +752,7 @@ bool SDLGraphics::setVideoMode(const int w, const int h,
noFrame,
allowHighDPI);
- if (!(mWindow = graphicsManager.createWindow(w, h, bpp,
+ if (!(mWindow = GraphicsManager::createWindow(w, h, bpp,
getSoftwareFlags())))
{
mRect.w = 0;
diff --git a/src/render/sdl2softwaregraphics.cpp b/src/render/sdl2softwaregraphics.cpp
index 38e1604b4..8eb0519f5 100644
--- a/src/render/sdl2softwaregraphics.cpp
+++ b/src/render/sdl2softwaregraphics.cpp
@@ -1477,7 +1477,7 @@ bool SDL2SoftwareGraphics::setVideoMode(const int w, const int h,
noFrame,
allowHighDPI);
- if (!(mWindow = graphicsManager.createWindow(w, h, bpp,
+ if (!(mWindow = GraphicsManager::createWindow(w, h, bpp,
getSoftwareFlags())))
{
mRect.w = 0;
diff --git a/src/render/sdlgraphics.cpp b/src/render/sdlgraphics.cpp
index 118e154da..c165be7db 100644
--- a/src/render/sdlgraphics.cpp
+++ b/src/render/sdlgraphics.cpp
@@ -1489,7 +1489,7 @@ bool SDLGraphics::setVideoMode(const int w, const int h,
noFrame,
allowHighDPI);
- if ((mWindow = graphicsManager.createWindow(w, h, bpp,
+ if ((mWindow = GraphicsManager::createWindow(w, h, bpp,
getSoftwareFlags())) == nullptr)
{
mRect.w = 0;