[Scummvm-git-logs] scummvm master -> b8cf747ad5aac402429e431977127832f44e519f

rsn8887 rsn8887 at users.noreply.github.com
Wed Jan 22 10:24:47 UTC 2020


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:
b8cf747ad5 OPENGL: Implement stretch mode Fit to window (4:3)


Commit: b8cf747ad5aac402429e431977127832f44e519f
    https://github.com/scummvm/scummvm/commit/b8cf747ad5aac402429e431977127832f44e519f
Author: rsn8887 (rsn8887 at users.noreply.github.com)
Date: 2020-01-22T04:24:42-06:00

Commit Message:
OPENGL: Implement stretch mode Fit to window (4:3)

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


diff --git a/backends/graphics/opengl/opengl-graphics.cpp b/backends/graphics/opengl/opengl-graphics.cpp
index dfc8448..ff8a200 100644
--- a/backends/graphics/opengl/opengl-graphics.cpp
+++ b/backends/graphics/opengl/opengl-graphics.cpp
@@ -236,6 +236,7 @@ const OSystem::GraphicsMode glStretchModes[] = {
 	{"pixel-perfect", _s("Pixel-perfect scaling"), STRETCH_INTEGRAL},
 	{"fit", _s("Fit to window"), STRETCH_FIT},
 	{"stretch", _s("Stretch to window"), STRETCH_STRETCH},
+	{"fit_force_aspect", _s("Fit to window (4:3)"), STRETCH_FIT_FORCE_ASPECT},
 	{nullptr, nullptr, 0}
 };
 




More information about the Scummvm-git-logs mailing list