Skip to content

Update to 5.7#1

Open
franklzt wants to merge 1 commit intoheyx3:masterfrom
franklzt:5.7
Open

Update to 5.7#1
franklzt wants to merge 1 commit intoheyx3:masterfrom
franklzt:5.7

Conversation

@franklzt
Copy link

Fixed error in 5.7

#include "PostProcess/PostProcessMaterialInputs.h"
#include "Runtime/Renderer/Private/SceneRendering.h"

#include "Runtime/Launch/Resources/Version.h"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's with all these extra includes? They aren't really needed just to bump to 5.7 are they?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this include the version macro , such as ENGINE_MINOR_VERSION defined in this include.

}
else
{
auto* resource = rt->GameThread_GetRenderTargetResource();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove auto?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer FTextureRenderTargetResource* to auto in this case.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure but why? I used auto because the function name already contains the important part of the type name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants