aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lastexpress/graphics.cpp')
-rw-r--r--engines/lastexpress/graphics.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/engines/lastexpress/graphics.cpp b/engines/lastexpress/graphics.cpp
index 5c72fa76d8..abbdf2b766 100644
--- a/engines/lastexpress/graphics.cpp
+++ b/engines/lastexpress/graphics.cpp
@@ -18,9 +18,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
- * $URL$
- * $Id$
- *
*/
#include "lastexpress/graphics.h"
@@ -34,13 +31,14 @@ namespace LastExpress {
#define COLOR_KEY 0xFFFF
GraphicsManager::GraphicsManager() : _changed(false) {
- _screen.create(640, 480, 2);
+ const Graphics::PixelFormat format(2, 5, 5, 5, 0, 10, 5, 0, 0);
+ _screen.create(640, 480, format);
// Create the game surfaces
- _backgroundA.create(640, 480, 2);
- _backgroundC.create(640, 480, 2);
- _overlay.create(640, 480, 2);
- _inventory.create(640, 480, 2);
+ _backgroundA.create(640, 480, format);
+ _backgroundC.create(640, 480, format);
+ _overlay.create(640, 480, format);
+ _inventory.create(640, 480, format);
clear(kBackgroundAll);
}