mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	gl_shader_gen.cpp: Fix separable shaders when GL_EXT_clip_cull_distance is not supported
This commit is contained in:
		
							parent
							
								
									80b8d66017
								
							
						
					
					
						commit
						80799b1e5d
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -102,7 +102,9 @@ static std::string GetVertexInterfaceDeclaration(bool is_output, bool separable_ | |||
|         out += R"( | ||||
| out gl_PerVertex { | ||||
|     vec4 gl_Position; | ||||
| #if !defined(CITRA_GLES) || defined(GL_EXT_clip_cull_distance) | ||||
|     float gl_ClipDistance[2]; | ||||
| #endif // !defined(CITRA_GLES) || defined(GL_EXT_clip_cull_distance)
 | ||||
| }; | ||||
| )"; | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue