summaryrefslogtreecommitdiff
path: root/js/shader.js
diff options
context:
space:
mode:
authorjules <jules@okfoc.us>2014-01-26 02:55:13 -0500
committerjules <jules@okfoc.us>2014-01-26 02:55:13 -0500
commitfb322430f61b32af4e22d5136704ce87ddfd6f3a (patch)
treeb7ff726d4b5e7ba425640ce1a1e8eeafc3008705 /js/shader.js
parent41c9d39a851a159d6a2e34fafb975e7c66bddf63 (diff)
actual_w, actual_h to fix rgbpixel on resized workspace
Diffstat (limited to 'js/shader.js')
-rw-r--r--js/shader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/shader.js b/js/shader.js
index 7773b89..a8559ba 100644
--- a/js/shader.js
+++ b/js/shader.js
@@ -18,7 +18,7 @@ var shader_build = function(){
}
var r,g,b,a;
-
+var w, h, actual_w, actual_h;
function shade_no_error_handling(frame, t){
if (! t || isNaN(t)) throw Error ("No time specified")
if (! frame) throw Error ("No frame specified")