From: Matthijs Kooijman Date: Tue, 12 Jun 2007 10:31:39 +0000 (+0200) Subject: * Make VideoUpdate use the config value again for BPP and change default to 24. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2FABM2.git;a=commitdiff_plain;h=8494389a69b0f3f0d0d8511504e473f41443ac39 * Make VideoUpdate use the config value again for BPP and change default to 24. --- 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()