Torque3D/Engine
Areloch 368b687043 This implements a fix to an issue with the CICD that causes a segfault.
The fix adds a sanity check to the D3D and GL device enumeration function that exits early if there's no registered display from the OS(implying it's running in commandline).
With newer versions of SDL, attempting to enumerate the GL device causes a segfault because the OS will return back a valid context, but the context isn't actually valid. So when tested against, it crashes. Avoiding enumerating the device when you're not in a position to render works around the issue.

TODO: If the machine is running in terminal-only mode, and thus has no valid render context, but still has a monitor plugged into the machine, it can sidestep the sanity check and still result in a segfault. Need a more robust check for that circumstance in a future fix.
2023-07-23 01:04:29 -05:00
..
bin Old project generator is dead 2019-11-26 22:02:12 +10:00
lib clean up 2023-05-12 11:42:06 +02:00
modules/Verve (Mostly) updated verve implementation. 2019-03-07 16:23:41 -06:00
source This implements a fix to an issue with the CICD that causes a segfault. 2023-07-23 01:04:29 -05:00