Howto:Optimizing FlightGear for mobile devices: Difference between revisions

Jump to navigation Jump to search
Line 266: Line 266:
     // Sound manager is updated last so it can use the CPU while the GPU
     // Sound manager is updated last so it can use the CPU while the GPU
     // is processing the scenery (doubled the frame-rate for me) -EMH-
     // is processing the scenery (doubled the frame-rate for me) -EMH-
     globals->add_subsystem("sound", new SGSoundMgr("/enable/sound"), SGSubsystemMgr::SOUND);
     globals->add_subsystem("sound", new SGOptional<SGSoundMgr>("/enable/sound", new SGSoundMgr), SGSubsystemMgr::SOUND);
</syntaxhighlight>
</syntaxhighlight>


Navigation menu