EventThread: Mouse button IDs greater than 'SDL_BUTTON_X2' are possible
This commit is contained in:
		
							parent
							
								
									b6890a3c35
								
							
						
					
					
						commit
						8dd6b63fc4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -58,7 +58,7 @@ public:
 | 
				
			||||||
	struct MouseState
 | 
						struct MouseState
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		int x, y;
 | 
							int x, y;
 | 
				
			||||||
		bool buttons[SDL_BUTTON_X2+1];
 | 
							bool buttons[32];
 | 
				
			||||||
	};
 | 
						};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	static MouseState mouseState;
 | 
						static MouseState mouseState;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue