mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-10-30 20:21:56 +00:00 
			
		
		
		
	[client] opengl: initialize scale to 1.0
Fixes SPICE cursor rendering unconditionally at (0, 0) prior to KVMFR frame format configuration
This commit is contained in:
		 Jacob McNamee
					Jacob McNamee
				
			
				
					committed by
					
						 Geoffrey McRae
						Geoffrey McRae
					
				
			
			
				
	
			
			
			 Geoffrey McRae
						Geoffrey McRae
					
				
			
						parent
						
							28b653b112
						
					
				
				
					commit
					b7d044de5d
				
			| @@ -205,6 +205,9 @@ bool opengl_create(LG_Renderer ** renderer, const LG_RendererParams params, | ||||
|   this->opt.preventBuffer = option_get_bool("opengl", "preventBuffer"); | ||||
|   this->opt.amdPinnedMem  = option_get_bool("opengl", "amdPinnedMem" ); | ||||
|  | ||||
|   this->scaleX = 1.0f; | ||||
|   this->scaleY = 1.0f; | ||||
|  | ||||
|   LG_LOCK_INIT(this->formatLock); | ||||
|   LG_LOCK_INIT(this->frameLock ); | ||||
|   LG_LOCK_INIT(this->mouseLock ); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user