Skip to content

WebGL1 support broken #502

Open
Open

Description

@midzer

Hi,

I can't play the demo http://xproger.info/projects/OpenLara/ on my machine which only supports WebGL1.

When building the game with SDL2 port and porting to Emscripten, I get a "web context lost" crash after loading first level. After digging in deeper, I modified few OpenGL function calls to make it work under WebGL1.

If you're interested I can open a PR to show you.

Have a nice weekend
midzer

Activity

  1. XProger commented on Mar 9, 2025

    @XProger
    Owner

    hi, why you need SDL2 instead of the "native" web? %)
    https://github.com/XProger/OpenLara/tree/master/src/platform/web

  2. midzer commented on Mar 9, 2025

    @midzer
    Author

    I did not manage to get it to run under Linux xD

  3. midzer commented on Jun 29, 2025

    @midzer
    Author

    The web version uses WebGL2 also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions