Commit Graph

3 Commits

Author SHA1 Message Date
ea6d1c56d1 A feeble attempt to overcome flickering issues on window resize.
It really seems insurmountable at this point.  Not sure what SDL is doing
that's causing this.  But I'm leaving this code in, because it makes
things a little cleaner and serves as a good example to myself for how
to render to textures.
2015-01-20 21:55:11 -08:00
6c6e8896a1 GUI actually displays the text of the loaded buffer now. Woo hoo!
To make this performant, the Font struct caches rendered glyphs as
sdl textures.  Without caching, performance is abysmal.
2015-01-19 22:47:43 -08:00
30ad0c2ea4 Added SDL2 and Freetype as dependencies, in preparation for a GUI.
Also wrapped Freetype functionality in a Font struct.
2015-01-18 13:12:01 -08:00