aboutsummaryrefslogtreecommitdiff
path: root/src/library_gl.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-06-16 10:26:53 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-06-16 10:26:53 -0700
commite6ec4c9620ed87b0c9ab3100914b48f662132e52 (patch)
tree1a091b9773d16aeab7557259912af626269c9c43 /src/library_gl.js
parentca9c2d70f9480b50f8838944fa5a54eebc0da302 (diff)
only warn on lack of texture compression, some parts of levels might still work
Diffstat (limited to 'src/library_gl.js')
-rw-r--r--src/library_gl.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_gl.js b/src/library_gl.js
index 21d71878..68f8248b 100644
--- a/src/library_gl.js
+++ b/src/library_gl.js
@@ -114,7 +114,7 @@ var LibraryGL = {
var ext = Module.ctx.getExtension('WEBGL_compressed_texture_s3tc') ||
Module.ctx.getExtension('MOZ_WEBGL_compressed_texture_s3tc') ||
Module.ctx.getExtension('WEBKIT_WEBGL_compressed_texture_s3tc');
- assert(ext, 'Failed to get texture compression WebGL extension');
+ if (!ext) Module.printErr('Failed to get texture compression WebGL extension, if compressed textures are used they will fail');
}
},