[XCX] missing header...

This commit is contained in:
getdls 2018-01-21 22:38:07 +01:00
parent 4ee64d1bb1
commit bc95f7c122
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
<?php
include 'Source/functions.php';
$fullWidth = $argv[1];
$fullHeight = $argv[2];
$scaleFactorX = always_decimal_format($fullWidth / 1280.0);
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
?>
#version 420
#extension GL_ARB_texture_gather : enable

View File

@ -197,5 +197,5 @@ overwriteHeight = <?=round($scaleFactorY*4)?>
width = 1
height = 1
formats = 0x008,0x01a,081e
overwriteWidth = <?=round($scaleFactorX*1)?>
overwriteWidth = <?=round($scaleFactorX*1)?>
overwriteHeight = <?=round($scaleFactorY*1)?>