mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:02:45 +00:00 
			
		
		
		
	 0836912a6d
			
		
	
	
		0836912a6d
		
	
	
	
	
		
			
			This commit implements glClipPlane and its supporting calls, backed by new support for user-defined clip planes in the software GPU clipper. This fixes some visual bugs seen in the Quake III port, in which mirrors would only reflect correctly from close distances.
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			312 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			312 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(SOURCES
 | |
|     ClipPlanes.cpp
 | |
|     ContextParameter.cpp
 | |
|     GLAPI.cpp
 | |
|     GLContext.cpp
 | |
|     Lighting.cpp
 | |
|     Lists.cpp
 | |
|     Matrix.cpp
 | |
|     Stencil.cpp
 | |
|     Tex/NameAllocator.cpp
 | |
|     Tex/Texture2D.cpp
 | |
|     Textures.cpp
 | |
|     Vertex.cpp
 | |
| )
 | |
| 
 | |
| serenity_lib(LibGL gl)
 | |
| target_link_libraries(LibGL LibM LibCore LibGfx LibGPU)
 |