1
0
Fork 0

Wire frame mode got broke somehow. This seems to fix it.

This commit is contained in:
curt 2003-03-14 02:07:45 +00:00
parent f74d6ec90e
commit c32c8aca51

View file

@ -709,6 +709,11 @@ void fgRenderFrame() {
glEnable( GL_DEPTH_TEST );
ssgSetNearFar( scene_nearplane, scene_farplane );
if ( fgGetBool("/sim/rendering/wireframe") ) {
// draw wire frame
glPolygonMode( GL_FRONT_AND_BACK, GL_LINE );
}
ssgCullAndDraw( globals->get_scenery()->get_scene_graph() );
// This is a bit kludgy. Every 200 frames, do an extra