mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-11-04 09:02:14 +00:00 
			
		
		
		
	Remove default precision on non ES platforms.
This commit is contained in:
		@@ -312,7 +312,10 @@ Item{
 | 
				
			|||||||
            blending: false
 | 
					            blending: false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            fragmentShader:
 | 
					            fragmentShader:
 | 
				
			||||||
                "precision highp float;" +
 | 
					                "#ifdef GL_ES
 | 
				
			||||||
 | 
					                    precision mediump float;
 | 
				
			||||||
 | 
					                #endif\n" +
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                "uniform lowp float qt_Opacity;" +
 | 
					                "uniform lowp float qt_Opacity;" +
 | 
				
			||||||
                "uniform lowp sampler2D txt_source;" +
 | 
					                "uniform lowp sampler2D txt_source;" +
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -151,7 +151,9 @@ ShaderEffect {
 | 
				
			|||||||
        }"
 | 
					        }"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    fragmentShader: "
 | 
					    fragmentShader: "
 | 
				
			||||||
        precision highp float;
 | 
					        #ifdef GL_ES
 | 
				
			||||||
 | 
					            precision mediump float;
 | 
				
			||||||
 | 
					        #endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        uniform sampler2D source;
 | 
					        uniform sampler2D source;
 | 
				
			||||||
        uniform highp float qt_Opacity;
 | 
					        uniform highp float qt_Opacity;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -120,7 +120,9 @@ Item{
 | 
				
			|||||||
        blending: true
 | 
					        blending: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        fragmentShader: "
 | 
					        fragmentShader: "
 | 
				
			||||||
            precision highp float;
 | 
					            #ifdef GL_ES
 | 
				
			||||||
 | 
					                precision mediump float;
 | 
				
			||||||
 | 
					            #endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            uniform highp sampler2D normals;
 | 
					            uniform highp sampler2D normals;
 | 
				
			||||||
            uniform highp sampler2D source;
 | 
					            uniform highp sampler2D source;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user