vladimir%pobox.com cbd74a0db8 npotb; canvas3d updates (osx, linux, some crash fixes)
git-svn-id: svn://10.0.0.236/trunk@238520 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-04 22:12:45 +00:00

21 lines
496 B
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script type="application/x-javascript">
function doload() {
var cvs = document.getElementById('canvas');
var ctx = cvs.getContext('moz-gles11');
ctx.clearColor(.2,.2,.2,1);
ctx.clear(ctx.COLOR_BUFFER_BIT);
ctx.swapBuffers();
}
</script>
</head>
<body onload="doload()">
<canvas id="canvas" width="400" height="400" style="border: 2px solid black;"></canvas>
</body>
</html>