mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2025-01-11 09:19:07 +01:00
Modify shader scale
was just applying the scale from 1280 instead of 960
This commit is contained in:
parent
6e8e0e4e95
commit
b67c93bb62
@ -2,7 +2,7 @@
|
|||||||
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 / 960.0);
|
||||||
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
$scaleFactorY = always_decimal_format($fullHeight / 720.0);
|
||||||
?>
|
?>
|
||||||
#version 420
|
#version 420
|
||||||
|
Loading…
x
Reference in New Issue
Block a user