[XCX] Build fix

This commit is contained in:
getdls 2017-12-01 21:18:01 +01:00
parent 584831d7a8
commit 1f97be0d35

View File

@ -1,5 +1,5 @@
<? php <?php
include 'Source/functions.php'; include 'Source/functions.php';
$fullWidth = $argv[1]; $fullWidth = $argv[1];
$fullHeight = $argv[2]; $fullHeight = $argv[2];
$scaleFactorX = always_decimal_format($fullWidth / 1280.0); $scaleFactorX = always_decimal_format($fullWidth / 1280.0);
@ -19,7 +19,7 @@ layout(binding = 1) uniform sampler2D textureUnitPS1;// Tex1 addr 0xf4386000 res
layout(location = 0) in vec4 passParameterSem0; layout(location = 0) in vec4 passParameterSem0;
layout(location = 0) out vec4 passPixelColor0; layout(location = 0) out vec4 passPixelColor0;
uniform vec2 uf_fragCoordScale; uniform vec2 uf_fragCoordScale;
const float resScale = < ? = $scaleFactorX ? >; const float resScale = <?=$scaleFactorX?>;
//const float resScale = 3.5; //3.5 looks nicer //const float resScale = 3.5; //3.5 looks nicer
highp float lineRand(vec2 co) highp float lineRand(vec2 co)