FlightGear and OpenGL Core Profile: Difference between revisions

Jump to navigation Jump to search
m
Line 21: Line 21:
For starters, we can try the [[FlightGear Headless]] option to build a fgfs version without any graphics at all.
For starters, we can try the [[FlightGear Headless]] option to build a fgfs version without any graphics at all.


The next step will be identifying and excluding problematic sources by adding <code>#ifdef</code> to the sources in question, and updating CMakeLists.txt accordingly, ideally in conjunction with a feature-specific build option to disable the corresponding feature (think [[PUI]] or the [[HUD]]).
The next step will be identifying and excluding problematic sources (those containing legacy/raw OpenGL code, e.g. using <code>glBegin()</code> or <code>glEnable()</code> respectively) by adding <code>#ifdef</code> to the sources in question, and updating CMakeLists.txt accordingly, ideally in conjunction with a feature-specific build option to disable the corresponding feature (think [[PUI]] or the [[HUD]]).


Initially, this will probably include:
Initially, this will probably include:

Navigation menu