mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[libgdx] Removed extra spaces in shader.
This commit is contained in:
parent
dbfceec061
commit
f6dcf94115
@ -1460,11 +1460,11 @@ public class TwoColorPolygonBatch implements PolygonBatch {
|
|||||||
+ "\n" //
|
+ "\n" //
|
||||||
+ "void main()\n" //
|
+ "void main()\n" //
|
||||||
+ "{\n" //
|
+ "{\n" //
|
||||||
+ " v_light = a_light;\n" //
|
+ " v_light = a_light;\n" //
|
||||||
+ " v_light.a = v_light.a * (255.0/254.0);\n" //
|
+ " v_light.a = v_light.a * (255.0/254.0);\n" //
|
||||||
+ " v_dark = a_dark;\n" //
|
+ " v_dark = a_dark;\n" //
|
||||||
+ " v_texCoords = a_texCoord0;\n" //
|
+ " v_texCoords = a_texCoord0;\n" //
|
||||||
+ " gl_Position = u_projTrans * a_position;\n" //
|
+ " gl_Position = u_projTrans * a_position;\n" //
|
||||||
+ "}\n";
|
+ "}\n";
|
||||||
String fragmentShader = "#ifdef GL_ES\n" //
|
String fragmentShader = "#ifdef GL_ES\n" //
|
||||||
+ "#define LOWP lowp\n" //
|
+ "#define LOWP lowp\n" //
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user