Skip to content

Commit

Permalink
renderer: Enable GL_LINE_LOOP vertex primitive.
Browse files Browse the repository at this point in the history
  • Loading branch information
heinezen committed Jul 21, 2024
1 parent 70bea4d commit 6fe3f9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions libopenage/renderer/opengl/lookup.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ static constexpr auto GL_PRIMITIVE = datastructure::create_const_map<resources::
std::pair(resources::vertex_primitive_t::POINTS, GL_POINTS),
std::pair(resources::vertex_primitive_t::LINES, GL_LINES),
std::pair(resources::vertex_primitive_t::LINE_STRIP, GL_LINE_STRIP),
std::pair(resources::vertex_primitive_t::LINE_LOOP, GL_LINE_LOOP),
std::pair(resources::vertex_primitive_t::TRIANGLES, GL_TRIANGLES),
std::pair(resources::vertex_primitive_t::TRIANGLE_STRIP, GL_TRIANGLE_STRIP),
std::pair(resources::vertex_primitive_t::TRIANGLE_FAN, GL_TRIANGLE_FAN));
Expand Down
1 change: 1 addition & 0 deletions libopenage/renderer/resources/mesh_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ enum class vertex_primitive_t {
POINTS,
LINES,
LINE_STRIP,
LINE_LOOP,
TRIANGLES,
TRIANGLE_STRIP,
TRIANGLE_FAN,
Expand Down

0 comments on commit 6fe3f9a

Please sign in to comment.