* Make VideoUpdate use the config value again for BPP and change default to 24.
authorMatthijs Kooijman <m.kooijman@student.utwente.nl>
Tue, 12 Jun 2007 10:31:39 +0000 (12:31 +0200)
committerMatthijs Kooijman <m.kooijman@student.utwente.nl>
Tue, 12 Jun 2007 10:31:39 +0000 (12:31 +0200)
ABM2/Engine/VideoUpdate.cpp

index e3f36c585e29616602c53f7f1f8fcd7b04afb29d..b121c19ffc79893b8281e41c07cc357645d5e118 100755 (executable)
@@ -12,12 +12,12 @@ CMMPointer<Dator<int> > CVideoUpdate::screenHeight=0;
 CMMPointer<Dator<int> > CVideoUpdate::screenBPP=0;\r
 int CVideoUpdate::scrWidth=640;\r
 int CVideoUpdate::scrHeight=480;\r
-int CVideoUpdate::scrBPP=16;\r
+int CVideoUpdate::scrBPP=24;\r
 \r
 CVideoUpdate::CVideoUpdate(CKernel* kernel) : ITask(kernel)\r
 {\r
        assert(screenWidth && screenHeight && screenBPP);\r
-       this->g = new Graphics(scrWidth, scrHeight, 16, false);\r
+       this->g = new Graphics(scrWidth, scrHeight, scrBPP, false);\r
 }\r
 \r
 CVideoUpdate::~CVideoUpdate()\r