Skip to content
This repository has been archived by the owner on Sep 13, 2019. It is now read-only.

BMP loading #7

Open
zacharycarter opened this issue Mar 14, 2017 · 0 comments
Open

BMP loading #7

zacharycarter opened this issue Mar 14, 2017 · 0 comments

Comments

@zacharycarter
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant