Browse Source
maxwell_to_gl: Implement PrimitiveTopology::Lines
Used by Splatoon 2's debug menu.
pull/15/merge
OatmealDome
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
src/video_core/renderer_opengl/maxwell_to_gl.h
|
|
|
@ -107,6 +107,8 @@ inline GLenum PrimitiveTopology(Maxwell::PrimitiveTopology topology) { |
|
|
|
switch (topology) { |
|
|
|
case Maxwell::PrimitiveTopology::Points: |
|
|
|
return GL_POINTS; |
|
|
|
case Maxwell::PrimitiveTopology::Lines: |
|
|
|
return GL_LINES; |
|
|
|
case Maxwell::PrimitiveTopology::LineStrip: |
|
|
|
return GL_LINE_STRIP; |
|
|
|
case Maxwell::PrimitiveTopology::Triangles: |
|
|
|
|