[libgdx] Removed extra spaces in shader.

This commit is contained in:
NathanSweet 2019-08-29 19:18:54 +02:00
parent dbfceec061
commit f6dcf94115

View File

@ -1460,11 +1460,11 @@ public class TwoColorPolygonBatch implements PolygonBatch {
+ "\n" //
+ "void main()\n" //
+ "{\n" //
+ " v_light = a_light;\n" //
+ " v_light.a = v_light.a * (255.0/254.0);\n" //
+ " v_dark = a_dark;\n" //
+ " v_texCoords = a_texCoord0;\n" //
+ " gl_Position = u_projTrans * a_position;\n" //
+ " v_light = a_light;\n" //
+ " v_light.a = v_light.a * (255.0/254.0);\n" //
+ " v_dark = a_dark;\n" //
+ " v_texCoords = a_texCoord0;\n" //
+ " gl_Position = u_projTrans * a_position;\n" //
+ "}\n";
String fragmentShader = "#ifdef GL_ES\n" //
+ "#define LOWP lowp\n" //