forked from LeenkxTeam/LNXSDK
Update leenkx/Sources/leenkx/renderpath/RenderPathForward.hx
This commit is contained in:
@ -641,17 +641,19 @@ class RenderPathForward {
|
|||||||
var framebuffer = "";
|
var framebuffer = "";
|
||||||
#end
|
#end
|
||||||
|
|
||||||
#if ((rp_antialiasing == "Off") || (rp_antialiasing == "FXAA"))
|
|
||||||
{
|
|
||||||
RenderPathCreator.finalTarget = path.currentTarget;
|
RenderPathCreator.finalTarget = path.currentTarget;
|
||||||
path.setTarget(framebuffer);
|
|
||||||
|
var target = "";
|
||||||
|
#if ((rp_antialiasing == "Off") || (rp_antialiasing == "FXAA") || (!rp_render_to_texture))
|
||||||
|
{
|
||||||
|
target = framebuffer;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
{
|
{
|
||||||
path.setTarget("buf");
|
target = "buf";
|
||||||
RenderPathCreator.finalTarget = path.currentTarget;
|
|
||||||
}
|
}
|
||||||
#end
|
#end
|
||||||
|
path.setTarget(target);
|
||||||
|
|
||||||
#if rp_compositordepth
|
#if rp_compositordepth
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user