mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	OpenGL Splitscreen Fix
First screen in split-screen is now not completely black.
This commit is contained in:
		
							parent
							
								
									9f0aacb059
								
							
						
					
					
						commit
						d75d7cd09a
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -4635,7 +4635,8 @@ void HWR_RenderPlayerView(INT32 viewnumber, player_t *player) | |||
| 	ClearColor.blue = 0.0f; | ||||
| 	ClearColor.alpha = 1.0f; | ||||
| 
 | ||||
| 	HWD.pfnClearBuffer(true, false, &ClearColor); // Clear the Color Buffer, stops HOMs. Also seems to fix the skybox issue on Intel GPUs.
 | ||||
| 	if (viewnumber == 0) // Only do it if it's the first screen being rendered
 | ||||
| 		HWD.pfnClearBuffer(true, false, &ClearColor); // Clear the Color Buffer, stops HOMs. Also seems to fix the skybox issue on Intel GPUs.
 | ||||
| 
 | ||||
| 	if (skybox && drawsky) // If there's a skybox and we should be drawing the sky, draw the skybox
 | ||||
| 		HWR_RenderSkyboxView(viewnumber, player); // This is drawn before everything else so it is placed behind
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Sryder13
						Sryder13