Skip to content

Gracefull failover #4

@llewelld

Description

@llewelld

On machines without shader capability shaderback.js will drop back to the usual static background. This happens because the gl context will be returned as null.

However, this fallback isn't very graceful as it generates a null context error in the Javascript. The user doesn't get to see this, but it would still be neater to catch the error and fail completely transparently.

The solution is to catch the error or check for a null context and turn off the relevant Javascript updates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions