From e30fde3531ceb95b5aa3c8712a67bad828ef44a6 Mon Sep 17 00:00:00 2001 From: cinnaboot Date: Sat, 11 Feb 2023 16:05:39 -0500 Subject: [PATCH] use GL_DYNAMIC_DRAW for ellipse entity meshes --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index c0e3e67..0446268 100644 --- a/src/main.cpp +++ b/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; }