20,741
edits
Line 232: | Line 232: | ||
{{Note|This is just intended to demonstrate the concept; | {{Note|This is just intended to demonstrate the concept; this moves the loading of the gpu profile to the run() method of the GeneralInitOperation struct in GUI/gui.cxx, so that we can access the gl-vendor and gl-renderer information to proceed from here. To test this, use <code>--prop:/sim/startup/enable-gpu-profiles{{=}}1</code> | ||
It would make more sense to restore a copy of any autosave.xml settings, i.e. those having the userarchive attribute set. | |||
To actually do some kind of heuristics processing, it would make sense to support SGConditions, PropertyRules and/or Nasal (at least temporarily), so that we can process a few properties and select appropriate defaults. | To actually do some kind of heuristics processing, it would make sense to support SGConditions, PropertyRules and/or Nasal (at least temporarily), so that we can process a few properties and select appropriate defaults. | ||
}} | }} |