Stop using glut to draw text
commitf6209e67f37882d72539d868a0799bbfca325c08
authormalc <av1474@comtv.ru>
Fri, 12 Aug 2011 05:06:41 +0000 (12 09:06 +0400)
committermalc <av1474@comtv.ru>
Fri, 12 Aug 2011 05:07:03 +0000 (12 09:07 +0400)
tree051eec05bd72064de0628cf62d50abc25e944e4b
parent5adc745599bd12acb40baf4c7e43212d964ab172
Stop using glut to draw text

a. glutBitmapCharacter is dreadfully inefficient/slow
b. The repertoire of symbols is limited
c. ...

So use Tor Anderrson's excellent glfont.c from [1] to do the drawing
(since we are transitively dependent on freetype anyway)

[1] https://github.com/ccxvii/snippets
build.ml
build.sh
buildall.sh
glfont.c [new file with mode: 0644]
link.c
main.ml
tbs