frag icon indicating copy to clipboard operation
frag copied to clipboard

BMP loading

Open zacharycarter opened this issue 7 years ago • 0 comments

Support loading / unloading of BMPs. Header bytes should be verified. https://oroboro.com/image-format-magic-bytes/

Image loading / unloading should be performed with sdl2_image : https://www.libsdl.org/projects/SDL_image/docs/SDL_image_frame.html

OpenGL code related to texture loading should be moved into a common proc. https://github.com/fragworks/frag/blob/master/src/frag/graphics/two_d/texture.nim#L59-L71

zacharycarter avatar Mar 14 '17 02:03 zacharycarter