File diff r24664:2cee0b64ad6e → r24665:20a8caea4459
src/video/dedicated_v.cpp
Show inline comments
 
@@ -135,6 +135,8 @@ static FVideoDriver_Dedicated iFVideoDri
 

	
 
const char *VideoDriver_Dedicated::Start(const StringList &parm)
 
{
 
	this->UpdateAutoResolution();
 

	
 
	int bpp = BlitterFactory::GetCurrentBlitter()->GetScreenDepth();
 
	_dedicated_video_mem = (bpp == 0) ? nullptr : MallocT<byte>(_cur_resolution.width * _cur_resolution.height * (bpp / 8));