mirror of
https://github.com/vanitasvitae/Spherical
synced 2024-11-25 05:42:09 +01:00
Add precision hint in fragment shader
This commit is contained in:
parent
3fbf5b67ec
commit
3c6c8b2803
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ public class PhotoSphereRenderer implements GLSurfaceView.Renderer {
|
||||||
* Out: sets fragment color
|
* Out: sets fragment color
|
||||||
*/
|
*/
|
||||||
private static final String DEFAULT_FRAGMENT_SHADER =
|
private static final String DEFAULT_FRAGMENT_SHADER =
|
||||||
|
"precision mediump float;\n" +
|
||||||
"varying vec2 uv;\n" +
|
"varying vec2 uv;\n" +
|
||||||
"uniform sampler2D tex;\n" +
|
"uniform sampler2D tex;\n" +
|
||||||
"void main() {\n" +
|
"void main() {\n" +
|
||||||
|
|
Loading…
Reference in a new issue