mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-10 11:51:52 +00:00
STARK: formatting white spaces
This commit is contained in:
parent
363a91267b
commit
fd0dbeb6ff
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user