Torque3D/Engine/source/windowManager
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
..
dedicated PlatformSDL implementation. 2015-01-19 01:17:37 +01:00
mac conforms platformWindow<implementations> to use _setVideoMode internals so that those are called by 2019-11-06 22:24:12 -06:00
sdl Monitor DeviceId setting. 2022-09-29 03:45:25 -04:00
test This implements a fix to an issue with the CICD that causes a segfault. 2023-07-23 01:04:29 -05:00
win32 Moves from using dStrCmp to the new String::compare static functions. Keeps things cleaner, consistent, and works with intellisense. 2020-10-03 14:37:55 +02:00
platformCursorController.cpp Changes for Linux. 2015-01-19 01:44:36 +01:00
platformCursorController.h Updates PlatformCursorController to use full set of SDL cursors. 2018-04-27 21:44:04 -04:00
platformInterface.cpp Modified files for SDL2. 2015-01-19 00:33:23 +01:00
platformWindow.cpp Re-submission of the Volumetric Fog PR, with cleanup. 2015-12-01 00:10:13 -06:00
platformWindow.h uninitialized and unused value cleanups 2023-05-01 10:40:02 -05:00
platformWindowMgr.h Updated version of OTHGMars' updated window and resolution options modes. 2020-09-20 02:06:15 -05:00
windowInputGenerator.cpp Switches to absolute position for mouse tracking when the platform cursor is visible. 2019-02-13 14:12:12 -05:00
windowInputGenerator.h uninitialized and unused value cleanups 2023-05-01 10:40:02 -05:00