diff options
-rw-r--r-- | src/webGLClient.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webGLClient.js b/src/webGLClient.js index 736b1ae3..a5ec0f4f 100644 --- a/src/webGLClient.js +++ b/src/webGLClient.js @@ -100,7 +100,7 @@ WebGLClient.prefetch = function() { var ctx = canvas.getContext('webgl-experimental') || canvas.getContext('webgl'); if (!ctx) return; var parameters = {}; - ['MAX_VERTEX_ATTRIBS', 'MAX_TEXTURE_IMAGE_UNITS'].forEach(function(name) { + ['MAX_VERTEX_ATTRIBS', 'MAX_TEXTURE_IMAGE_UNITS', 'MAX_TEXTURE_SIZE', 'VENDOR', 'RENDERER', 'VERSION'].forEach(function(name) { parameters[ctx[name]] = ctx.getParameter(ctx[name]); }); worker.postMessage({ target: 'gl', op: 'setPrefetched', parameters: parameters, extensions: ctx.getSupportedExtensions() }); |