diff --git a/leenkx/Sources/leenkx/renderpath/Inc.hx b/leenkx/Sources/leenkx/renderpath/Inc.hx index b27d4ad..4820d63 100644 --- a/leenkx/Sources/leenkx/renderpath/Inc.hx +++ b/leenkx/Sources/leenkx/renderpath/Inc.hx @@ -785,7 +785,11 @@ class Inc { public static inline function getDisplayp(): Null { #if rp_resolution_filter // Custom resolution set + #if rp_pp + return leenkx.renderpath.Postprocess.resolution_uniforms[0]; + #else return Main.resolutionSize; + #end #else return null; #end