Spaces:
Running
Running
Update viewer.js
Browse files
viewer.js
CHANGED
|
@@ -89,7 +89,6 @@ export async function initializeViewer(config, instanceId) {
|
|
| 89 |
|
| 90 |
// === EXACT iOS/Android/Windows HANDLING AS WORKING PLY VIEWER ===
|
| 91 |
const device = await pc.createGraphicsDevice(canvas, {
|
| 92 |
-
deviceTypes: ["webgl2"],
|
| 93 |
glslangUrl: "https://playcanvas.vercel.app/static/lib/glslang/glslang.js",
|
| 94 |
twgslUrl: "https://playcanvas.vercel.app/static/lib/twgsl/twgsl.js",
|
| 95 |
antialias: false
|
|
|
|
| 89 |
|
| 90 |
// === EXACT iOS/Android/Windows HANDLING AS WORKING PLY VIEWER ===
|
| 91 |
const device = await pc.createGraphicsDevice(canvas, {
|
|
|
|
| 92 |
glslangUrl: "https://playcanvas.vercel.app/static/lib/glslang/glslang.js",
|
| 93 |
twgslUrl: "https://playcanvas.vercel.app/static/lib/twgsl/twgsl.js",
|
| 94 |
antialias: false
|