aboutsummaryrefslogtreecommitdiff
path: root/src/graphics/texture.c
AgeCommit message (Collapse)Author
2024-08-19Add mgl_texture_init_reference_existing_gl_texture to easily create a ↵dec05eba
texture and then a sprite from an existing opengl texture
2024-07-31Add mipmap optiondec05eba
2024-07-25Use const pointerdec05eba
2022-09-23Make window rgba and set background transparent to allow window clear to ↵dec05eba
work with transparency
2022-08-21Attempt to fix vertex draw when using texcoords without a texture (such as ↵dec05eba
when using a shader)
2021-12-08Vertex translation, fix vertex texture usedec05eba
2021-11-16Make unpack alignment byte-sized globallydec05eba
2021-11-16Texture: only do one glTexSubImage2D in mgl_texture_update instead of ↵dec05eba
|height| number of times
2021-11-15Add dynamic font atlas creation (not finished)dec05eba
2021-11-05Fix font being corrupt with certain sizes, fix image being corrupt if its ↵dec05eba
rgb, fix window resize incorrect size
2021-10-22Use const where possible in function paramsdec05eba
2021-10-19Change from callback to window polldec05eba
2021-10-17Reset texture size on deinitdec05eba
2021-10-16Add font renderingdec05eba
2021-10-16Fix resize event sometimes not triggered (set window gravity)dec05eba
2021-10-12compressed texturedec05eba
2021-10-10Add texture loading (and render in test)dec05eba