The renderer buffer size is usually the same size as the current mode, so we were taking the dimensions from the currently-set mode. However, using current_mode is quite confusing in places when it comes to scale, and it also hampers our ability to do mode switches, as well as to introduce a future option which will let the renderer use a smaller buffer than the output and display scaled. Simply take the dimensions of the renderer's output buffer from the buffer itself. Signed-off-by: Daniel Stone <daniels@collabora.com>dev
							parent
							
								
									98d75e1b23
								
							
						
					
					
						commit
						f9a6162595
					
				
					Loading…
					
					
				
		Reference in new issue