[Scummvm-git-logs] scummvm master -> 7a69ccc4b8c0b8d5bde8347eb33e594655c718dc

lephilousophe noreply at scummvm.org
Sun Sep 29 15:08:50 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
7a69ccc4b8 JANITORIAL: Cleanup whitespaces problems


Commit: 7a69ccc4b8c0b8d5bde8347eb33e594655c718dc
    https://github.com/scummvm/scummvm/commit/7a69ccc4b8c0b8d5bde8347eb33e594655c718dc
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2024-09-29T17:08:13+02:00

Commit Message:
JANITORIAL: Cleanup whitespaces problems

Changed paths:
    backends/graphics/opengl/framebuffer.cpp
    backends/graphics/opengl/opengl-graphics.cpp
    backends/graphics/surfacesdl/surfacesdl-graphics.cpp


diff --git a/backends/graphics/opengl/framebuffer.cpp b/backends/graphics/opengl/framebuffer.cpp
index 16b61b407ac..1163a28e07a 100644
--- a/backends/graphics/opengl/framebuffer.cpp
+++ b/backends/graphics/opengl/framebuffer.cpp
@@ -221,7 +221,7 @@ bool Backbuffer::setSize(uint width, uint height, Common::RotationMode rotation)
 	default:
 		_projectionMatrix(0, 0) =  2.0f / width;
 		_projectionMatrix(0, 1) =  0.0f;
-	       	_projectionMatrix(1, 0) =  0.0f;
+		_projectionMatrix(1, 0) =  0.0f;
 		_projectionMatrix(1, 1) = -2.0f / height;
 		_projectionMatrix(3, 0) = -1.0f;
 		_projectionMatrix(3, 1) =  1.0f;
@@ -237,7 +237,7 @@ bool Backbuffer::setSize(uint width, uint height, Common::RotationMode rotation)
 	case Common::kRotation180:
 		_projectionMatrix(0, 0) =  -2.0f / width;
 		_projectionMatrix(0, 1) =  0.0f;
-	       	_projectionMatrix(1, 0) =  0.0f;
+		_projectionMatrix(1, 0) =  0.0f;
 		_projectionMatrix(1, 1) =  2.0f / height;
 		_projectionMatrix(3, 0) =  1.0f;
 		_projectionMatrix(3, 1) = -1.0f;
diff --git a/backends/graphics/opengl/opengl-graphics.cpp b/backends/graphics/opengl/opengl-graphics.cpp
index 0f89cce524f..0a76771186a 100644
--- a/backends/graphics/opengl/opengl-graphics.cpp
+++ b/backends/graphics/opengl/opengl-graphics.cpp
@@ -636,7 +636,7 @@ void OpenGLGraphicsManager::updateScreen() {
 	int rotation = getRotationMode();
 	int rotatedWidth = _windowWidth;
 	int rotatedHeight = _windowHeight;
-			
+
 	if (rotation == Common::kRotation90 || rotation == Common::kRotation270) {
 		rotatedWidth = _windowHeight;
 		rotatedHeight = _windowWidth;
diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
index 49d0f1b5e85..db5d3e42ca5 100644
--- a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
+++ b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
@@ -215,7 +215,7 @@ bool SurfaceSdlGraphicsManager::hasFeature(OSystem::Feature f) const {
 #if SDL_VERSION_ATLEAST(2, 0, 0)
 		(f == OSystem::kFeatureFullscreenToggleKeepsContext) ||
 		(f == OSystem::kFeatureStretchMode) ||
-	        (f == OSystem::kFeatureRotationMode) ||
+		(f == OSystem::kFeatureRotationMode) ||
 		(f == OSystem::kFeatureVSync) ||
 #endif
 		(f == OSystem::kFeatureCursorPalette) ||




More information about the Scummvm-git-logs mailing list