diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-24 18:51:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-24 18:51:45 +0300 |
commit | 641b843fd85d096afdd9b171975df91676179f3b (patch) | |
tree | 760c38447030adbdb12361978fa614ccfc9cf9fd /src/render/graphics.cpp | |
parent | 5a5de75f298bea6f2b861dc1fb9aaf1f3d35d07c (diff) | |
download | plus-641b843fd85d096afdd9b171975df91676179f3b.tar.gz plus-641b843fd85d096afdd9b171975df91676179f3b.tar.bz2 plus-641b843fd85d096afdd9b171975df91676179f3b.tar.xz plus-641b843fd85d096afdd9b171975df91676179f3b.zip |
fix code style.
Diffstat (limited to 'src/render/graphics.cpp')
-rw-r--r-- | src/render/graphics.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp index 17f444eb8..3a423aac2 100644 --- a/src/render/graphics.cpp +++ b/src/render/graphics.cpp @@ -129,7 +129,7 @@ Graphics::Graphics() : Graphics::~Graphics() { - _endDraw(); + endDraw(); #ifdef USE_SDL2 if (mRenderer) { @@ -470,7 +470,7 @@ bool Graphics::setFullscreen(const bool fs) bool Graphics::resizeScreen(const int width, const int height) { #ifdef USE_SDL2 - _endDraw(); + endDraw(); mRect.w = width / mScale; mRect.h = height / mScale; @@ -488,14 +488,14 @@ bool Graphics::resizeScreen(const int width, const int height) // +++ need impliment resize in soft mode #endif // USE_OPENGL - _beginDraw(); + beginDraw(); return true; #else const int prevWidth = mWidth; const int prevHeight = mHeight; - _endDraw(); + endDraw(); const bool success = setVideoMode(width, height, mScale, mBpp, mFullscreen, mHWAccel, mEnableResize, mNoFrame); @@ -511,7 +511,7 @@ bool Graphics::resizeScreen(const int width, const int height) } } - _beginDraw(); + beginDraw(); return success; #endif // USE_SDL2 |