diff --git a/src/graphics.rs b/src/graphics.rs index 49f5e52c..95b62745 100644 --- a/src/graphics.rs +++ b/src/graphics.rs @@ -1374,6 +1374,7 @@ impl From for GLenum { pub enum PrimitiveType { Triangles, Lines, + Points, } impl From for GLenum { @@ -1381,6 +1382,7 @@ impl From for GLenum { match primitive_type { PrimitiveType::Triangles => GL_TRIANGLES, PrimitiveType::Lines => GL_LINES, + PrimitiveType::Points => GL_POINTS, } } }