From 8494389a69b0f3f0d0d8511504e473f41443ac39 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 12 Jun 2007 12:31:39 +0200 Subject: [PATCH] * Make VideoUpdate use the config value again for BPP and change default to 24. --- ABM2/Engine/VideoUpdate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ABM2/Engine/VideoUpdate.cpp b/ABM2/Engine/VideoUpdate.cpp index e3f36c5..b121c19 100755 --- a/ABM2/Engine/VideoUpdate.cpp +++ b/ABM2/Engine/VideoUpdate.cpp @@ -12,12 +12,12 @@ CMMPointer > CVideoUpdate::screenHeight=0; CMMPointer > CVideoUpdate::screenBPP=0; int CVideoUpdate::scrWidth=640; int CVideoUpdate::scrHeight=480; -int CVideoUpdate::scrBPP=16; +int CVideoUpdate::scrBPP=24; CVideoUpdate::CVideoUpdate(CKernel* kernel) : ITask(kernel) { assert(screenWidth && screenHeight && screenBPP); - this->g = new Graphics(scrWidth, scrHeight, 16, false); + this->g = new Graphics(scrWidth, scrHeight, scrBPP, false); } CVideoUpdate::~CVideoUpdate() -- 2.30.2