mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 14:42:44 +00:00 
			
		
		
		
	LibGL: Implement all glMultiTexCoord*f API methods
				
					
				
			This commit is contained in:
		
							parent
							
								
									eda1ffba73
								
							
						
					
					
						commit
						62846b4691
					
				
					 2 changed files with 18 additions and 0 deletions
				
			
		|  | @ -688,10 +688,13 @@ GLAPI void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r); | |||
| GLAPI void glTexCoord3fv(GLfloat const* v); | ||||
| GLAPI void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q); | ||||
| GLAPI void glTexCoord4fv(GLfloat const* v); | ||||
| GLAPI void glMultiTexCoord1f(GLenum target, GLfloat s); | ||||
| GLAPI void glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t); | ||||
| GLAPI void glMultiTexCoord2fvARB(GLenum target, GLfloat const* v); | ||||
| GLAPI void glMultiTexCoord2fv(GLenum target, GLfloat const* v); | ||||
| GLAPI void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t); | ||||
| GLAPI void glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r); | ||||
| GLAPI void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); | ||||
| GLAPI void glTexParameteri(GLenum target, GLenum pname, GLint param); | ||||
| GLAPI void glTexParameterf(GLenum target, GLenum pname, GLfloat param); | ||||
| GLAPI void glTexEnvf(GLenum target, GLenum pname, GLfloat param); | ||||
|  |  | |||
|  | @ -631,6 +631,11 @@ void glMatrixMode(GLenum mode) | |||
|     g_gl_context->gl_matrix_mode(mode); | ||||
| } | ||||
| 
 | ||||
| void glMultiTexCoord1f(GLenum target, GLfloat s) | ||||
| { | ||||
|     g_gl_context->gl_multi_tex_coord(target, s, 0.f, 0.f, 1.f); | ||||
| } | ||||
| 
 | ||||
| void glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t) | ||||
| { | ||||
|     glMultiTexCoord2f(target, s, t); | ||||
|  | @ -651,6 +656,16 @@ void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t) | |||
|     g_gl_context->gl_multi_tex_coord(target, s, t, 0.f, 1.f); | ||||
| } | ||||
| 
 | ||||
| void glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r) | ||||
| { | ||||
|     g_gl_context->gl_multi_tex_coord(target, s, t, r, 1.f); | ||||
| } | ||||
| 
 | ||||
| void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) | ||||
| { | ||||
|     g_gl_context->gl_multi_tex_coord(target, s, t, r, q); | ||||
| } | ||||
| 
 | ||||
| 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