From 641b843fd85d096afdd9b171975df91676179f3b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 24 Mar 2014 18:51:45 +0300 Subject: fix code style. --- src/render/graphics.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/render/graphics.cpp') 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 -- cgit v1.2.3-60-g2f50