X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=ABM2%2FEngine%2FVideoUpdate.cpp;fp=ABM2%2FEngine%2FVideoUpdate.cpp;h=b121c19ffc79893b8281e41c07cc357645d5e118;hb=8494389a69b0f3f0d0d8511504e473f41443ac39;hp=e3f36c585e29616602c53f7f1f8fcd7b04afb29d;hpb=66098f209ae8d9e953a8329f9007cf5e6096e178;p=matthijs%2FABM2.git 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()