aboutsummaryrefslogtreecommitdiff
path: root/src/graphics
AgeCommit message (Collapse)Author
2024-08-11fix incorrect sprite_set_height, add sprite_set_widthdec05eba
2024-08-05Unload texture if texture loading failsdec05eba
2024-07-31Add mipmap, texture load from memorydec05eba
2024-07-25Update to latest mgl, adds option to hide decorations on window createdec05eba
2022-12-02Sprite: add get_size, which returns the texture size and takes into account ↵dec05eba
scaling
2022-11-03Sprite: set_sizedec05eba
2022-03-30Add move assignment to texture, fix move constructor not setting owner fielddec05eba
2022-03-30Proper y offset for text, add option to create hidden window and add ↵dec05eba
function to make it visible (map, unmap), fix incorrect copy/move text
2021-11-27Use correct offset for font y positiondec05eba
2021-11-26Allow reloading images, textures and memory mapped filesdec05eba
2021-11-18Move glyph creation for text to render function instead of in set string, ↵dec05eba
clear font glyph background before rendering the text
2021-11-18Disable copy constructors for opengl resource itemsdec05eba
2021-11-17Readd kerningdec05eba
2021-11-16Implement all interfaces to mgldec05eba
2021-11-07Fix text rendering getting corrupt at copy/move constructordec05eba
2021-11-07Fix exit being called when closing window, respond to wm ping, add is_open ↵dec05eba
function to window
2021-11-03Use event structure in poll_eventdec05eba
2021-10-29More, todo interfacesdec05eba
2021-10-22Use shaderdec05eba
2021-10-22Add vertex bufferdec05eba
2021-10-19Change event layout to similar to same as sfmldec05eba
2021-10-19Use uint8_t for color instead of floatdec05eba
2021-10-18Initial commit with an exampledec05eba