aboutsummaryrefslogtreecommitdiff
path: root/src/library_gl.js
diff options
context:
space:
mode:
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');
}
},