File diff r25260:b20f15e2e276 → r25261:3b1b500a06d6
src/video/win32_v.cpp
Show inline comments
 
@@ -1308,12 +1308,14 @@ const char *VideoDriver_Win32OpenGL::Sta
 
	/* We should have a valid screen buffer now. If not, something went wrong and we should abort. */
 
	if (_screen.dst_ptr == nullptr) {
 
		this->Stop();
 
		_cur_resolution = old_res;
 
		return "Can't get pointer to screen buffer";
 
	}
 
	/* Main loop expects to start with the buffer unmapped. */
 
	this->ReleaseVideoPointer();
 

	
 
	MarkWholeScreenDirty();
 

	
 
	this->is_game_threaded = !GetDriverParamBool(param, "no_threads") && !GetDriverParamBool(param, "no_thread");
 

	
 
	return nullptr;