mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:22:45 +00:00 
			
		
		
		
	LibGL: Implement glGetTexImage
				
					
				
			The plumbing was already there in LibGPU, so all that was left was to implement the API :^)
This commit is contained in:
		
							parent
							
								
									4f69022c32
								
							
						
					
					
						commit
						8ab410a536
					
				
					 6 changed files with 46 additions and 0 deletions
				
			
		|  | @ -449,6 +449,11 @@ GLubyte const* glGetString(GLenum name) | |||
|     return g_gl_context->gl_get_string(name); | ||||
| } | ||||
| 
 | ||||
| void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, void* pixels) | ||||
| { | ||||
|     g_gl_context->gl_get_tex_image(target, level, format, type, pixels); | ||||
| } | ||||
| 
 | ||||
| void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint* params) | ||||
| { | ||||
|     g_gl_context->gl_get_tex_parameter_integerv(target, level, pname, params); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jelle Raaijmakers
						Jelle Raaijmakers