mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-10-26 12:27:44 +00:00 
			
		
		
		
	GPU: fix swapchain buffer size not set on Xbox
This commit is contained in:
		 Daniel Ludwig
					Daniel Ludwig
				
			
				
					committed by
					
						 Sam Lantinga
						Sam Lantinga
					
				
			
			
				
	
			
			
			 Sam Lantinga
						Sam Lantinga
					
				
			
						parent
						
							ff834f7733
						
					
				
				
					commit
					acb18e05b5
				
			| @@ -6147,6 +6147,8 @@ static bool D3D12_INTERNAL_CreateSwapchain( | |||||||
|     windowData->swapchainComposition = swapchain_composition; |     windowData->swapchainComposition = swapchain_composition; | ||||||
|     windowData->swapchainColorSpace = DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709; |     windowData->swapchainColorSpace = DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709; | ||||||
|     windowData->frameCounter = 0; |     windowData->frameCounter = 0; | ||||||
|  |     windowData->width = width; | ||||||
|  |     windowData->height = height; | ||||||
|  |  | ||||||
|     // Precache blit pipelines for the swapchain format |     // Precache blit pipelines for the swapchain format | ||||||
|     for (Uint32 i = 0; i < 5; i += 1) { |     for (Uint32 i = 0; i < 5; i += 1) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user