mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
webgl: Use mediump in triangle test
Support for this should be almost universal.
This commit is contained in:
parent
f5d05a39af
commit
89b65f3a02
1 changed files with 1 additions and 3 deletions
|
@ -19,9 +19,7 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script id="fragmentshader" type="x-shader">
|
<script id="fragmentshader" type="x-shader">
|
||||||
#ifdef GL_ES
|
precision mediump float;
|
||||||
precision highp float;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
varying vec4 aVertexColor;
|
varying vec4 aVertexColor;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue