improved shader compatibility with intel builtin gpu

apparently you can't use 1f for float, always use 1.0
This commit is contained in:
minjaesong
2019-09-20 14:15:26 +09:00
parent aaae4f71d8
commit 2980d3eb94
2 changed files with 4 additions and 4 deletions

View File

@@ -34,9 +34,9 @@ uniform vec4 colourFilter = vec4(1, 1, 1, 1); // used by WALL to darken it
uniform ivec2 cameraTranslation = ivec2(0, 0); // used to offset the drawing
uniform float drawBreakage = 1f; // set it to 0f to not draw breakage, 1f to draw it; NEVER set to any other values.
uniform float drawBreakage = 1.0; // set it to 0f to not draw breakage, 1f to draw it; NEVER set to any other values.
uniform float zoom = 1f;
uniform float zoom = 1.0;
ivec2 getTileXY(int tileNumber) {