Set the graphics context size using the width and height of the stream instead of the initial size of the NaCl element. This closes issue #16

This commit is contained in:
Cameron Gutman
2016-02-25 22:48:22 -05:00
parent 24cf97b0ae
commit e7b45e5b6c
4 changed files with 9 additions and 22 deletions

View File

@@ -8,7 +8,7 @@
<link rel="stylesheet" href="static/css/material.min.css">
<link rel="stylesheet" href="static/css/style.css">
</head>
<body data-name="moonlight-chrome" data-width="1280" data-height="720" data-tools="pnacl" data-configs="Debug Release" data-path="{tc}/{config}">
<body data-name="moonlight-chrome" data-tools="pnacl" data-configs="Debug Release" data-path="{tc}/{config}">
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">