html5: add worker js back
parent
ad9d3e8eee
commit
9724d064cf
|
@ -33,6 +33,6 @@ int main() {
|
|||
// 75% window, msaa x2
|
||||
window_create(0.75f, 0);
|
||||
window_aspect_lock(910, 540);
|
||||
video_t *v = video( "bjork-all-is-full-of-love.mp4", VIDEO_RGB );
|
||||
video_t *v = video( "videos/pexels-pachon-in-motion-17486489.mp4", VIDEO_RGB );
|
||||
window_loop(render, v);
|
||||
}
|
||||
|
|
|
@ -157,5 +157,7 @@
|
|||
// document.addEventListener('MSFullscreenChange', exitFullscreen, false);
|
||||
// document.addEventListener('webkitfullscreenchange', exitFullscreen, false);
|
||||
</script>
|
||||
|
||||
<script src="index.coi.worker.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue