mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:52:46 +00:00 
			
		
		
		
	LibGL: Implement glMultiTexCoord2fv(ARB)? APIs
				
					
				
			This commit is contained in:
		
							parent
							
								
									789d871892
								
							
						
					
					
						commit
						72b4f95f71
					
				
					 2 changed files with 17 additions and 5 deletions
				
			
		|  | @ -631,16 +631,26 @@ void glMatrixMode(GLenum mode) | |||
|     g_gl_context->gl_matrix_mode(mode); | ||||
| } | ||||
| 
 | ||||
| void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t) | ||||
| { | ||||
|     g_gl_context->gl_multi_tex_coord(target, s, t, 0.0f, 1.0f); | ||||
| } | ||||
| 
 | ||||
| void glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t) | ||||
| { | ||||
|     glMultiTexCoord2f(target, s, t); | ||||
| } | ||||
| 
 | ||||
| void glMultiTexCoord2fvARB(GLenum target, GLfloat const* v) | ||||
| { | ||||
|     glMultiTexCoord2fv(target, v); | ||||
| } | ||||
| 
 | ||||
| void glMultiTexCoord2fv(GLenum target, GLfloat const* v) | ||||
| { | ||||
|     g_gl_context->gl_multi_tex_coord(target, v[0], v[1], 0.f, 1.f); | ||||
| } | ||||
| 
 | ||||
| void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t) | ||||
| { | ||||
|     g_gl_context->gl_multi_tex_coord(target, s, t, 0.f, 1.f); | ||||
| } | ||||
| 
 | ||||
| void glMultMatrixd(GLdouble const* matrix) | ||||
| { | ||||
|     g_gl_context->gl_mult_matrix(transpose_input_matrix<double, float>(matrix)); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jelle Raaijmakers
						Jelle Raaijmakers