add automatic resizing
This commit is contained in:
1 parent
2c5f3cd282
commit
f1018f6874
3 files changed
+42
-23
No files matched your search
+7
-5
@@ -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