aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-30 17:27:59 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-30 17:28:08 -0800
commit35ef551f44c778fcf1eec7edd7a8afeaf3cead1e (patch)
tree61f37cdaf336140a271155eb72d73e6fe42aa5e5
parent5ce6395824e16ad61db669ca35461c4427ce2796 (diff)
headless fix
-rw-r--r--src/headlessCanvas.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/headlessCanvas.js b/src/headlessCanvas.js
index 6b0f9d47..4bd17a7b 100644
--- a/src/headlessCanvas.js
+++ b/src/headlessCanvas.js
@@ -446,6 +446,7 @@ function headlessCanvas() {
case /* GL_MAX_FRAGMENT_UNIFORM_VECTORS */ 0x8DFD: return 4096;
case /* GL_MAX_VARYING_VECTORS */ 0x8DFC: return 32;
case /* GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS */ 0x8B4D: return 32;
+ case /* GL_ARRAY_BUFFER_BINDING */ 0x8894: return 0;
default: console.log('getParameter ' + pname + '?'); return 0;
}
},