<style>
   canvas {
       width: 100px;
       height: 100px;
       border: 1px solid green;
   }
</style>
<body>
    <p>Ensure if an image buffer is reused for a webgl texture, it will be cleared before drawing.</p>
    <canvas width="100" height="100"/>
    <script>
        const canvas = document.querySelector('canvas');
        const ctx = canvas.getContext('2d');
        ctx.fillStyle = 'green';
        ctx.fillRect(canvas.width / 4, canvas.height / 4, canvas.width / 2, canvas.height / 2);
    </script>
</body>
