mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-10-30 20:21:56 +00:00 
			
		
		
		
	[host] nvfbc: fix damage copy when operating in 24bpp
This commit is contained in:
		| @@ -726,7 +726,7 @@ static CaptureResult nvfbc_getFrame(FrameBuffer * frame, int frameIndex) | ||||
|         unsigned int width = (min(x2 << this->diffShift, this->grabWidth) - | ||||
|           (x << this->diffShift)) * this->bpp; | ||||
|         rectCopyUnaligned(frameData, this->frameBuffer, ystart, yend, | ||||
|             x << (2 + this->diffShift), this->shmStride * this->bpp, | ||||
|             (x << this->diffShift) * this->bpp, this->shmStride * this->bpp, | ||||
|             this->grabStride * this->bpp, width); | ||||
|  | ||||
|         x = x2; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Geoffrey McRae
					Geoffrey McRae