st/gui: Refactor a few OpenGL drawing code into helper
Jakob Bornecrantz 2 years ago 15743d82 bde2dce2