forked from eden-emu/eden
		
	maxwell_to_gl: Implement PrimitiveTopology::Points.
- Used by Super Mario Odyssey (in game).
This commit is contained in:
		
							parent
							
								
									25ba4d1b68
								
							
						
					
					
						commit
						06d0b96ca9
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -85,6 +85,8 @@ inline GLenum IndexFormat(Maxwell::IndexFormat index_format) { | |||
| 
 | ||||
| inline GLenum PrimitiveTopology(Maxwell::PrimitiveTopology topology) { | ||||
|     switch (topology) { | ||||
|     case Maxwell::PrimitiveTopology::Points: | ||||
|         return GL_POINTS; | ||||
|     case Maxwell::PrimitiveTopology::Triangles: | ||||
|         return GL_TRIANGLES; | ||||
|     case Maxwell::PrimitiveTopology::TriangleStrip: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bunnei
						bunnei