ladybird icon indicating copy to clipboard operation
ladybird copied to clipboard

Cannot create a WebGL context

Open Lubrsi opened this issue 2 years ago • 1 comments

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

Lubrsi avatar Jul 07 '22 19:07 Lubrsi

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?

huwdp avatar Sep 13 '22 20:09 huwdp