forked from LeenkxTeam/LNXSDK
t3du - Resolution post process
This commit is contained in:
@ -785,7 +785,11 @@ class Inc {
|
|||||||
|
|
||||||
public static inline function getDisplayp(): Null<Int> {
|
public static inline function getDisplayp(): Null<Int> {
|
||||||
#if rp_resolution_filter // Custom resolution set
|
#if rp_resolution_filter // Custom resolution set
|
||||||
|
#if rp_pp
|
||||||
|
return leenkx.renderpath.Postprocess.resolution_uniforms[0];
|
||||||
|
#else
|
||||||
return Main.resolutionSize;
|
return Main.resolutionSize;
|
||||||
|
#end
|
||||||
#else
|
#else
|
||||||
return null;
|
return null;
|
||||||
#end
|
#end
|
||||||
|
Reference in New Issue
Block a user