From fd0dbeb6ff4dc3e043b31d65a2e4c492738c937d Mon Sep 17 00:00:00 2001 From: Pawel Kolodziejski Date: Fri, 25 Dec 2015 09:59:55 +0100 Subject: [PATCH] STARK: formatting white spaces --- engines/stark/gfx/openglssurface.cpp | 8 ++++---- engines/stark/gfx/surfacerenderer.cpp | 6 ++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/engines/stark/gfx/openglssurface.cpp b/engines/stark/gfx/openglssurface.cpp index 36af321c2f8..0b1ba33b80a 100644 --- a/engines/stark/gfx/openglssurface.cpp +++ b/engines/stark/gfx/openglssurface.cpp @@ -31,8 +31,8 @@ namespace Stark { namespace Gfx { OpenGLSSurfaceRenderer::OpenGLSSurfaceRenderer(OpenGLSDriver *gfx) : - SurfaceRenderer(), - _gfx(gfx) { + SurfaceRenderer(), + _gfx(gfx) { _shader = _gfx->createSurfaceShaderInstance(); } @@ -66,12 +66,12 @@ void OpenGLSSurfaceRenderer::render(const Texture *texture, const Common::Point Math::Vector2d OpenGLSSurfaceRenderer::normalizeOriginalCoordinates(float x, float y) const { Common::Rect viewport = _gfx->getUnscaledViewport(); - return Math::Vector2d(x / (float) viewport.width(), y / (float) viewport.height()); + return Math::Vector2d(x / (float)viewport.width(), y / (float)viewport.height()); } Math::Vector2d OpenGLSSurfaceRenderer::normalizeCurrentCoordinates(float x, float y) const { Common::Rect viewport = _gfx->getViewport(); - return Math::Vector2d(x / (float) viewport.width(), y / (float) viewport.height()); + return Math::Vector2d(x / (float)viewport.width(), y / (float)viewport.height()); } } // End of namespace Gfx diff --git a/engines/stark/gfx/surfacerenderer.cpp b/engines/stark/gfx/surfacerenderer.cpp index a0f5839ca0d..b799b342c09 100644 --- a/engines/stark/gfx/surfacerenderer.cpp +++ b/engines/stark/gfx/surfacerenderer.cpp @@ -26,13 +26,11 @@ namespace Stark { namespace Gfx { SurfaceRenderer::SurfaceRenderer() : - _noScalingOverride(false), - _fadeLevel(0) { - + _noScalingOverride(false), + _fadeLevel(0) { } SurfaceRenderer::~SurfaceRenderer() { - } void SurfaceRenderer::setNoScalingOverride(bool noScalingOverride) {