mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-11-04 06:31:54 +00:00 
			
		
		
		
	[host] DXGI: fixed swapped rows and cols variables
				
					
				
			In practice this worked out because `rows = cols`, but this will change in future commits as I implement RGB24 damage support.
This commit is contained in:
		
				
					committed by
					
						
						Geoffrey McRae
					
				
			
			
				
	
			
			
			
						parent
						
							c665044bfa
						
					
				
				
					commit
					c29404eea6
				
			@@ -95,7 +95,7 @@ static CaptureResult dxgi_releaseFrame(void);
 | 
			
		||||
static bool ppInit(const DXGIPostProcess * pp, bool shareable);
 | 
			
		||||
static ID3D11Texture2D * ppRun(Texture * tex, ID3D11Texture2D * src,
 | 
			
		||||
  int * width, int * height,
 | 
			
		||||
  int * rows , int * cols,
 | 
			
		||||
  int * cols , int * rows,
 | 
			
		||||
  CaptureFormat * format);
 | 
			
		||||
static void ppFreeAll(void);
 | 
			
		||||
 | 
			
		||||
@@ -1468,7 +1468,7 @@ static bool ppInit(const DXGIPostProcess * pp, bool shareable)
 | 
			
		||||
 | 
			
		||||
static ID3D11Texture2D * ppRun(Texture * tex, ID3D11Texture2D * src,
 | 
			
		||||
  int * width, int * height,
 | 
			
		||||
  int * rows, int * cols,
 | 
			
		||||
  int * cols , int * rows,
 | 
			
		||||
  CaptureFormat * format)
 | 
			
		||||
{
 | 
			
		||||
  PostProcessInstance * inst;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user