Hello,
when using the DLSS Plugin for Unreal Engine 5.5 there are some compiler warnings:
StreamlineCore\Source\ThirdParty\Streamline\include\sl_core_types.h(40): warning C4471: 'VkResult': a forward declaration of an unscoped enumeration must have an underlying type
StreamlineCore\Source\StreamlineCore\Private\StreamlineLatewarp.cpp(67): warning C4996: 'FTexture2DRHIRef': The separate RHI texture types were unified in UE 5.1. FTexture2DRHIRef is now deprecated. Use FTextureRHIRef instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
StreamlineCore\Source\StreamlineCore\Private\StreamlineLatewarp.cpp(98): warning C4996: 'FRHITexture2D': The separate RHI texture types were unified in UE 5.1. FRHITexture2D is now deprecated. Use FRHITexture instead. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
The deprecation warnings are easy to fix, since the Unreal Engine already provides the correct solution. But I don’t know how to best fix the warning regarding VkResult, can you help me with that?
Thanks,
Moritz Grunwald