Skip to content

Commit

Permalink
Merge pull request #71 from Downchuck/clear-color
Browse files Browse the repository at this point in the history
CreateTextureRenderTarget2D using ClearColor parameter
  • Loading branch information
EverNewJoy authored Aug 11, 2020
2 parents 63df5d8 + 88ae187 commit a97446e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/VictoryBPLibrary/Public/VictoryBPFunctionLibrary.h
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ class VICTORYBPLIBRARY_API UVictoryBPFunctionLibrary : public UBlueprintFunction
{
return nullptr;
}
NewRenderTarget2D->ClearColor = FLinearColor::White;
NewRenderTarget2D->ClearColor = ClearColor;
NewRenderTarget2D->TargetGamma = Gamma;
NewRenderTarget2D->InitAutoFormat(Width, Height);
return NewRenderTarget2D;
Expand Down

0 comments on commit a97446e

Please sign in to comment.