equal
deleted
inserted
replaced
13 static FVideoDriver_Null iFVideoDriver_Null; |
13 static FVideoDriver_Null iFVideoDriver_Null; |
14 |
14 |
15 const char *VideoDriver_Null::Start(const char* const *parm) |
15 const char *VideoDriver_Null::Start(const char* const *parm) |
16 { |
16 { |
17 this->ticks = GetDriverParamInt(parm, "ticks", 1000); |
17 this->ticks = GetDriverParamInt(parm, "ticks", 1000); |
18 _screen.width = _screen.pitch = _cur_resolution[0]; |
18 _screen.width = _screen.pitch = _cur_resolution.width; |
19 _screen.height = _cur_resolution[1]; |
19 _screen.height = _cur_resolution.height; |
20 ScreenSizeChanged(); |
20 ScreenSizeChanged(); |
21 |
21 |
22 /* Do not render, nor blit */ |
22 /* Do not render, nor blit */ |
23 DEBUG(misc, 1, "Forcing blitter 'null'..."); |
23 DEBUG(misc, 1, "Forcing blitter 'null'..."); |
24 BlitterFactoryBase::SelectBlitter("null"); |
24 BlitterFactoryBase::SelectBlitter("null"); |