LadybirdBrowser / ancient-history

The Ladybird web browser
BSD 2-Clause "Simplified" License
1.62k stars 102 forks source link

Cannot create a WebGL context #16

Closed Lubrsi closed 2 years ago

Lubrsi commented 2 years ago

Trying to create a WebGL context crashes when trying to load LibSoftGPU:

ladybird: /home/lukew/Desktop/serenity-project/serenity/Userland/Libraries/LibGL/GLContext.cpp:1230: AK::NonnullOwnPtr<GL::GLContext> GL::create_context(Gfx::Bitmap&): Assertion `!_temporary_result.is_error()' failed.

https://github.com/SerenityOS/serenity/blob/5bbd5e7322f107aae5e62983b5c50c0d01163d57/Userland/Libraries/LibGL/GLContext.cpp#L1230

huwdp commented 2 years ago

I don't see this error here (https://yari-demos.prod.mdn.mozit.cloud/en-US/docs/Web/API/WebGL_API/By_example/Clearing_with_colors/_sample_.clearing_the_webgl_context_with_a_solid_color.html) anymore. I guess this has been fixed?