aboutsummaryrefslogtreecommitdiff
path: root/src/shell.html
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-04-29 12:57:28 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-04-29 12:57:28 -0700
commitcb0bb1c1a76850bd4a3ee6faa2af7e879d23e991 (patch)
tree62847c234b69e873d763994974fc10e9093bd223 /src/shell.html
parent5b61f2b4b6aa7f55962b41e532d9c2bad7c97e78 (diff)
support for fullscreen and pointer lock, and prevent oom from sdl event queue overflow
Diffstat (limited to 'src/shell.html')
-rw-r--r--src/shell.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shell.html b/src/shell.html
index 43878973..4a1cb59c 100644
--- a/src/shell.html
+++ b/src/shell.html
@@ -13,6 +13,8 @@
</head>
<body>
<canvas class="emscripten" id="canvas" oncontextmenu="event.preventDefault()"></canvas>
+ <ht/>
+ <div class="emscripten"><input type="button" value="fullscreen" onclick="Browser.requestFullScreen()"></div>
<hr/>
<textarea class="emscripten" id="output" rows="8"></textarea>
<hr>