Codechange: [Video] make the prototype of PollEvent() the same for all drivers
Additionally, call it from the draw-tick.
This commit is contained in:
		
				
					committed by
					
						
						Patric Stout
					
				
			
			
				
	
			
			
			
						parent
						
							70e4845915
						
					
				
				
					commit
					c409f45ddd
				
			@@ -43,12 +43,12 @@ protected:
 | 
			
		||||
	void UnlockVideoBuffer() override;
 | 
			
		||||
	void Paint() override;
 | 
			
		||||
	void PaintThread() override;
 | 
			
		||||
	void CheckPaletteAnim();
 | 
			
		||||
	void CheckPaletteAnim() override;
 | 
			
		||||
	bool PollEvent() override;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
	std::unique_lock<std::recursive_mutex> draw_lock;
 | 
			
		||||
 | 
			
		||||
	int PollEvent();
 | 
			
		||||
	bool CreateMainSurface(uint w, uint h);
 | 
			
		||||
	void SetupKeyboard();
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user