mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-11 17:49:53 -10:00
One of the main points of contention when adding the NanoVG based TrueType text rendering was that it required an external Opengl renderer which may interfere with our rendering engine by changing OpenGL state without telling the rest of the engine. Since the rendering interface for NanoVG is abstract and can be easily replaced, I did just that and replaced it with an implementation that uses only generic graphics functions without relying on the specific graphics API. This will improve the interoperability of NanoVG with our engine and should make later changes to the rendering engine easier since there is no external rendering code which may interfere with our own code.