Skip to content

Commit

Permalink
Hydrogent: minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Oct 23, 2023
1 parent 2c5c04c commit 019eb03
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Hydrogent/interface/HnRenderDelegate.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,13 @@
#include "../../../DiligentCore/Graphics/GraphicsEngine/interface/RenderDevice.h"
#include "../../../DiligentCore/Graphics/GraphicsTools/interface/RenderStateCache.h"
#include "../../../DiligentCore/Common/interface/RefCntAutoPtr.hpp"
#include "../../PBR/interface/USD_Renderer.hpp"

#include "HnTextureRegistry.hpp"

namespace Diligent
{

class USD_Renderer;

namespace USD
{

Expand Down
2 changes: 1 addition & 1 deletion Hydrogent/interface/Tasks/HnTaskManager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ template <typename TaskParamsType>
bool HnTaskManager::SetTaskParams(const pxr::SdfPath& TaskId,
TaskParamsType&& Params)
{
TaskParamsType OldParams = m_ParamsDelegate.GetParameter<std::remove_reference<TaskParamsType>::type>(TaskId, pxr::HdTokens->params);
auto OldParams = m_ParamsDelegate.GetParameter<std::remove_reference<TaskParamsType>::type>(TaskId, pxr::HdTokens->params);
if (OldParams == Params)
return false;

Expand Down
1 change: 0 additions & 1 deletion Hydrogent/src/HnRenderDelegate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "HnMaterial.hpp"
#include "HnRenderPass.hpp"
#include "DebugUtilities.hpp"
#include "USD_Renderer.hpp"
#include "HnRenderBuffer.hpp"

#include "pxr/imaging/hd/material.h"
Expand Down

0 comments on commit 019eb03

Please sign in to comment.