Bug Issue: HTML5 may sometimes run without WebGL context


Pages: 1

Justin

  • Master Stencyler
  • *
December 13, 2019, 07:14:57 am
This commit allows WebGL context creation to fail in some cases.
https://github.com/Stencyl/lime/commit/45e38dfca2b500cfbba5a903ef7fab6500e671fe

This may manifest as a black window when a game is loaded in HTML5, due to GLUtil not being able to initialize properly.

Workarounds for now include:
- Update your graphics driver
- Setting failIfMajorPerformanceCaveat back to false.
- Not recommended: Enable the #ignore-gpu-blacklist flag in browser if on Chrome or webgl.force-enabled=true on Firefox.

Long-term, we should probably be careful within Stencyl of our assumption that we have a GL context just because it's HTML5, and we should also provide a block that will allow developers to see if WebGL was able to load, so they can enable/disable use of shaders in their game as desired.


Issue updated by Justin - December 13, 2019, 07:15:23 am
  • Tags added: 4.1.0


Pages: 1

Details

  • Reported
    December 13, 2019, 07:14:57 am
  • Updated
    December 13, 2019, 07:15:23 am

  • View Status
    Public
  • Type
    Bug
  • Status
    New
  • Priority
    Normal
  • Version
    (none)
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Engine

Tags