projects
/
matthijs
/
ABM2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Make VideoUpdate use the config value again for BPP and change default to 24.
[matthijs/ABM2.git]
/
ABM2
/
Engine
/
VideoUpdate.cpp
diff --git
a/ABM2/Engine/VideoUpdate.cpp
b/ABM2/Engine/VideoUpdate.cpp
index e3f36c585e29616602c53f7f1f8fcd7b04afb29d..b121c19ffc79893b8281e41c07cc357645d5e118 100755
(executable)
--- a/
ABM2/Engine/VideoUpdate.cpp
+++ b/
ABM2/Engine/VideoUpdate.cpp
@@
-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
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
\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
}
\r
\r
CVideoUpdate::~CVideoUpdate()
\r