aboutsummaryrefslogtreecommitdiff
path: root/src/graphics/vertex_buffer.c
AgeCommit message (Collapse)Author
2021-10-29Use gl*Pointer and glDrawArrays to render vertices (in mgl_vertices_draw) ↵dec05eba
instead of loop with glBegin/glEnd
2021-10-29Fix multiple vertex buffers using the same datadec05eba
Need to call glVertexPointer/glTexCoordPointer/glColorPointer every time we render.
2021-10-28Use a separate glx context for every windowdec05eba
Fix vertex buffer causing crash on render if update is called with an empty list.
2021-10-28Move vertex buffer generation from init to first update, making init voiddec05eba
2021-10-26Add clockdec05eba
2021-10-23Allow rendering vertices directlydec05eba
2021-10-22Use const where possible in function paramsdec05eba
2021-10-22Add shaderdec05eba
2021-10-21Add vertex bufferdec05eba