fg_geometry: add OpenGL 2.0 version fghDrawGeometryWire/fghDrawGeometrySolid, and...
authorSylvain Beucler <beuc@beuc.net>
Sat, 31 Mar 2012 21:24:45 +0000 (21:24 +0000)
committerSylvain Beucler <beuc@beuc.net>
Sat, 31 Mar 2012 21:24:45 +0000 (21:24 +0000)
commit07fb27edf3f8aa111279c4a9e94b5cf4c2c4f68b
tree5c201e565b55f6b97a0217279113f0e384688462
parent39c957d9929f0aba775c4a07a70b6124bc4b50e6
fg_geometry: add OpenGL 2.0 version fghDrawGeometryWire/fghDrawGeometrySolid, and a wrapper to go choose 1.1 or 2.0 version. Common code (glDrawElements) is very small and is copy/pasted in both functions.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1222 7f0cb862-5218-0410-a997-914c9d46530a
src/fg_geometry.c