mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 04:12:43 +00:00 
			
		
		
		
	LibGL: Implement glIsList
				
					
				
			This commit is contained in:
		
							parent
							
								
									17c109f5d7
								
							
						
					
					
						commit
						506abf2a61
					
				
					 5 changed files with 15 additions and 0 deletions
				
			
		|  | @ -1023,6 +1023,13 @@ void SoftwareGLContext::gl_new_list(GLuint list, GLenum mode) | |||
|     m_current_listing_index = CurrentListing { {}, static_cast<size_t>(list - 1), mode }; | ||||
| } | ||||
| 
 | ||||
| GLboolean SoftwareGLContext::gl_is_list(GLuint list) | ||||
| { | ||||
|     RETURN_VALUE_WITH_ERROR_IF(m_in_draw_state, GL_INVALID_OPERATION, GL_FALSE); | ||||
| 
 | ||||
|     return list < m_listings.size() ? GL_TRUE : GL_FALSE; | ||||
| } | ||||
| 
 | ||||
| void SoftwareGLContext::gl_flush() | ||||
| { | ||||
|     RETURN_WITH_ERROR_IF(m_in_draw_state, GL_INVALID_OPERATION); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jelle Raaijmakers
						Jelle Raaijmakers