You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 17, 2022. It is now read-only.
However, sometimes the lines are drawn correctly, as can be seen here. First it shows correctly, then just stops. With a different input (e.g. this one) it stops drawing at a different point.
The user tried it with Chrome and Firefox, on Windows, with the same result.
This workaround helps: SDL_SetHint(SDL_HINT_RENDER_DRIVER, "software");
I'm using
SDL_RenderDrawLines.I cannot reproduce the issue myself, but one of users sees that message in browser console, and the lines are not drawn.
https://www.asokolov.org/advent-of-code/2020/day12.html is the deployed version of it.
However, sometimes the lines are drawn correctly, as can be seen here. First it shows correctly, then just stops. With a different input (e.g. this one) it stops drawing at a different point.
The user tried it with Chrome and Firefox, on Windows, with the same result.
This workaround helps:
SDL_SetHint(SDL_HINT_RENDER_DRIVER, "software");Source code: