mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:12:45 +00:00 
			
		
		
		
	LibGL+LibGPU+LibSoftGPU: Implement and expose glClipPlane
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.
This commit is contained in:
		
							parent
							
								
									bc2f738a84
								
							
						
					
					
						commit
						0836912a6d
					
				
					 14 changed files with 193 additions and 63 deletions
				
			
		|  | @ -399,6 +399,11 @@ void glGetBooleanv(GLenum pname, GLboolean* data) | |||
|     g_gl_context->gl_get_booleanv(pname, data); | ||||
| } | ||||
| 
 | ||||
| void glGetClipPlane(GLenum plane, GLdouble* equation) | ||||
| { | ||||
|     g_gl_context->gl_get_clip_plane(plane, equation); | ||||
| } | ||||
| 
 | ||||
| void glGetDoublev(GLenum pname, GLdouble* params) | ||||
| { | ||||
|     g_gl_context->gl_get_doublev(pname, params); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 RKBethke
						RKBethke