Minor modification.
This commit is contained in:
parent
41c459897f
commit
b7b4cca10f
@ -1,7 +1,3 @@
|
|||||||
// Some mobile devices say that they support mediump, but in reality they don't. At the end
|
|
||||||
// all materials rendered as black. This hack renders a single plane with red material and
|
|
||||||
// it checks if it's really red. If it's not, then probably there is a driver issue.
|
|
||||||
|
|
||||||
import { Coord2D } from '../geometry/coord2d.js';
|
import { Coord2D } from '../geometry/coord2d.js';
|
||||||
import { Coord3D } from '../geometry/coord3d.js';
|
import { Coord3D } from '../geometry/coord3d.js';
|
||||||
import { ColorFromFloatComponents } from '../model/color.js';
|
import { ColorFromFloatComponents } from '../model/color.js';
|
||||||
@ -9,6 +5,9 @@ import { MaterialType } from '../model/material.js';
|
|||||||
import { Mesh } from '../model/mesh.js';
|
import { Mesh } from '../model/mesh.js';
|
||||||
import { Triangle } from '../model/triangle.js';
|
import { Triangle } from '../model/triangle.js';
|
||||||
|
|
||||||
|
// Some mobile devices say that they support mediump, but in reality they don't. At the end
|
||||||
|
// all materials rendered as black. This hack renders a single plane with red material and
|
||||||
|
// it checks if it's really red. If it's not, then probably there is a driver issue.
|
||||||
// https://github.com/kovacsv/Online3DViewer/issues/69
|
// https://github.com/kovacsv/Online3DViewer/issues/69
|
||||||
export function HasHighpDriverIssue ()
|
export function HasHighpDriverIssue ()
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user