mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Attempts to ensure proper colour output during alternating PAL lines.
This commit is contained in:
parent
7bd721f334
commit
6d76b7cd94
@ -194,7 +194,7 @@ std::string ScanTarget::sampling_function() const {
|
||||
|
||||
case InputDataType::PhaseLinkedLuminance8:
|
||||
fragment_shader +=
|
||||
"uint iPhase = uint((angle * 2.0 / 3.141592654) ) & 3u;";
|
||||
"uint iPhase = uint(step(sign(angle), 0.0) * 3) ^ uint(abs(angle * 2.0 / 3.141592654) ) & 3u;";
|
||||
|
||||
fragment_shader +=
|
||||
is_svideo ?
|
||||
|
Loading…
Reference in New Issue
Block a user