aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-21 20:12:10 -0400
committerPaul Gilbert2016-03-21 20:12:10 -0400
commitc299b8ce08630d3471336cb8a5715fcffab791f8 (patch)
tree3a320df1dc8d2775401c532b127efadca052648e
parent453b77d386369ebb4c8687ab252fc0e49384cdc3 (diff)
downloadscummvm-rg350-c299b8ce08630d3471336cb8a5715fcffab791f8.tar.gz
scummvm-rg350-c299b8ce08630d3471336cb8a5715fcffab791f8.tar.bz2
scummvm-rg350-c299b8ce08630d3471336cb8a5715fcffab791f8.zip
GRAPHICS: Set parameterless Screen constructor to use screen format
-rw-r--r--graphics/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/screen.cpp b/graphics/screen.cpp
index 4169c98035..ccf651f536 100644
--- a/graphics/screen.cpp
+++ b/graphics/screen.cpp
@@ -28,7 +28,7 @@
namespace Graphics {
Screen::Screen(): ManagedSurface() {
- create(g_system->getWidth(), g_system->getHeight());
+ create(g_system->getWidth(), g_system->getHeight(), g_system->getScreenFormat());
}
Screen::Screen(int width, int height): ManagedSurface() {