This repository was archived by the owner on Nov 30, 2020. It is now read-only.
Commit 9c34127
committed
Fix for color grading always appearing monochrome on Vita
Fixed ApplyCommonGradingSteps for PSP2, the PSP2 cg compiler was using the incorrect version of max(), passing a float as the first parameter caused it to use the single component version of max instead of up-casting to float3 as happens on other platforms, it looks like PSP2 cg is missing the required overload for this function, explicitly casting the first parameter to float3 fixes this.1 parent 3119900 commit 9c34127
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments