Skip to content

Commit

Permalink
Fixed the Linux build.
Browse files Browse the repository at this point in the history
  • Loading branch information
apanteleev committed Mar 23, 2023
1 parent 03ce23b commit cae3f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feature_demo/FeatureDemo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class RenderTargets : public GBufferRenderTargets

desc.format = nvrhi::Format::RGBA16_FLOAT;
desc.isUAV = true;
desc.mipLevels = uint32_t(std::floorf(std::log2f(float(std::max(desc.width, desc.height)))) + 1.f); // Used to test the MipMapGen pass
desc.mipLevels = uint32_t(floorf(::log2f(float(std::max(desc.width, desc.height)))) + 1.f); // Used to test the MipMapGen pass
desc.debugName = "ResolvedColor";
ResolvedColor = device->createTexture(desc);

Expand Down

0 comments on commit cae3f3c

Please sign in to comment.