Browse Source

use GL_DYNAMIC_DRAW for ellipse entity meshes

main
cinnaboot 3 years ago
parent
commit
e30fde3531
  1. 3
      src/main.cpp

3
src/main.cpp

@ -151,7 +151,8 @@ initEllipseEntity(RenderState* rs, GameOrbit* orbit, u32 num_vertices)
rg->shader->num_vertex_attribs,
rg->shader->attrib_mappings,
"ellipse 01",
GL_LINES);
GL_LINES,
GL_DYNAMIC_DRAW);
return e;
}

Loading…
Cancel
Save