Hi I'm trying to use PixiJS to render things in my browser but I keep getting a very annoying error:
Uncaught Error: WebGL unsupported in this browser, use "pixi.js-legacy" for fallback canvas2d support.
WebGL is supported by my browser tho : https://i.gyazo.com/8e55f75c74dd738c55d646bce3cdc294.png
Here's my very simple js:
let app = new PIXI.Application({width: 800, height: 800});
document.body.appendChild(app);
And my html:
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<script src="pixi.min.js"></script>
<script src="chess.js"></script>
<body>
</body>
</html>