1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-15 01:24:35 +02:00

#15 WebGL turn off multisampling

This commit is contained in:
XProger
2016-12-25 16:07:32 +03:00
parent 916700fc0f
commit 3bb21d5536

View File

@@ -67,7 +67,7 @@
proc.connect(ctx.destination);
}
var gl = canvasElement.getContext("webgl") || canvasElement.getContext("experimental-webgl");
var gl = canvasElement.getContext("webgl", {antialias:false}) || canvasElement.getContext("experimental-webgl", {antialias:false});
Module.setStatus('Downloading...');
window.onerror = function(event) {