aboutsummaryrefslogtreecommitdiff
path: root/src/gl.c
AgeCommit message (Collapse)Author
2021-11-16Texture: only do one glTexSubImage2D in mgl_texture_update instead of ↵dec05eba
|height| number of times
2021-11-16Sprite: add rotation and origindec05eba
2021-11-15Add dynamic font atlas creation (not finished)dec05eba
2021-11-06Fix exit being called when closing window, respond to wm ping, add is_open ↵dec05eba
function to window
2021-11-05Add bounds calculation to textdec05eba
2021-11-05Fix font being corrupt with certain sizes, fix image being corrupt if its ↵dec05eba
rgb, fix window resize incorrect size
2021-10-29Fix multiple vertex buffers using the same datadec05eba
Need to call glVertexPointer/glTexCoordPointer/glColorPointer every time we render.
2021-10-22Add shaderdec05eba
2021-10-21Add vertex bufferdec05eba
2021-10-19Use uint8_t for color instead of floatdec05eba
2021-10-16Add rectangle and sprite, use pixel coordinates, remote opengl dependency ↵dec05eba
from test
2021-10-10Add texture loading (and render in test)dec05eba
2021-10-10Enable alpha blendingdec05eba
2021-10-10Draw every frame instead of x11 expose, enable vsync (if available)dec05eba
2021-10-10add event and test graphicsdec05eba