mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
9 lines
384 B
HTML
9 lines
384 B
HTML
|
<!doctype html>
|
||
|
<canvas></canvas>
|
||
|
<script>
|
||
|
var canvas = document.body.firstChild,
|
||
|
gl = canvas.getContext("experimental-webgl");
|
||
|
gl.texImage2D(0, 0, 0, 0, 0, { get width() { throw 7 }, get height() { throw 7 }, data: new Uint8ClampedArray(10) });
|
||
|
gl.texSubImage2D(0, 0, 0, 0, 0, 0, { get width() { throw 7 }, get height() { throw 7 }, data: new Uint8ClampedArray(10) });
|
||
|
</script>
|