Needed to support Steam Overlay and http://forge.gg

Settings

Added the following settings:

  • forceNonDirectX: If set to "true" then we use GDI BitBlt for painting instead of DirectX. This will disable Steam Overlay.
  • noGPUAcceleration: By default we use dynamic textures in Direct3D to composite the screen. If this is set to "true" then we disable this behavior and just blt to the back surface. This is compatible with Steam Overlay.

Testing

  • Windows 10
  • Windows 7
  • Windows XP SP3
  • 1920×1080 resolution
  • 2560×1440 resolution
  • 1024×768 resolution
  • Windowed mode
  • Steam (make sure Overlay works)
  • WINE
  • See if there is a way to detect whether we have hardware support for textures; if not, we should fall back to blting the screen directly.