From 587d20a266e7f760eb3c8810fb5507ba836c816e Mon Sep 17 00:00:00 2001 From: Yuji Ichikawa Date: Tue, 1 Oct 2013 15:59:16 +0900 Subject: [PATCH] Chrome 29 needs to get OES_texture_float_linear explicitly. --- tests/gpulightmap.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/gpulightmap.html b/tests/gpulightmap.html index 0bfca00..e6a9396 100644 --- a/tests/gpulightmap.html +++ b/tests/gpulightmap.html @@ -31,6 +31,10 @@ document.write('This demo requires the OES_texture_float extension to run'); throw 'not supported'; } +if (!gl.getExtension('OES_texture_float_linear')) { + document.write('This demo requires the OES_texture_float_linear extension to run'); + throw 'not supported'; +} var depthMap = new GL.Texture(1024, 1024, { format: gl.RED }); var depthShader = new GL.Shader('\