add automatic resizing
This commit is contained in:
12
index.html
12
index.html
@@ -1,13 +1,15 @@
|
||||
<!doctype html>
|
||||
<!--https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Tutorial/Adding_2D_content_to_a_WebGL_context-->
|
||||
<html lang="en">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="">
|
||||
<head>
|
||||
<title>WebGL test"</title>
|
||||
<meta charset="utf-8">
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="by-hand" />
|
||||
<meta name="viewpost" context="width=device-width, inital-scale=1.0, user-scalable=yes" />
|
||||
<title>WebGL test</title>
|
||||
</head>
|
||||
<body>
|
||||
<canvas id="glCanvas" width="640" height="480"></canvas>
|
||||
<canvas id="glCanvas"></canvas>
|
||||
</body>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="style.css">
|
||||
<script src="main.js"></script>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user