]> git.mxchange.org Git - flightgear.git/commit
Fix GUI and HUD text rendering problems.
authortimoore <timoore>
Fri, 6 Jun 2008 19:02:17 +0000 (19:02 +0000)
committertimoore <timoore>
Fri, 6 Jun 2008 19:02:17 +0000 (19:02 +0000)
commit18bece731a894f004357d38e5d692fb997b6c268
treea839f93bb96e4fee52871f7aa8bfd44e9239a1cd
parentb27f73f4f42e94cd24187d9452d01ee8d0f70533
Fix GUI and HUD text rendering problems.

After the changes that moved the GUI and HUD to a slave camera, the
texture-based fonts wouldn't display. The main fixes here are making
sure that the TXF textures are all loaded into the font cache early,
and explicitly setting the active texture unit in the GUI / HUD
drawImplementation.
src/Cockpit/hud.cxx
src/GUI/gui.cxx
src/GUI/new_gui.cxx
src/GUI/new_gui.hxx
src/Main/renderer.cxx