Opened 18 months ago
Last modified 16 months ago
#6650 new enhancement
Improves DebugRenderer to receive IDeviceCommandContext as an argument
Reported by: | Vladislav Belov | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Backlog |
Component: | Core engine | Keywords: | simple |
Cc: | Patch: |
Description
Currently DebugRenderer calls g_Renderer
to get the current IDeviceCommandContext
:
https://trac.wildfiregames.com/browser/ps/trunk/source/renderer/DebugRenderer.cpp#L87
// ... CShaderTechniquePtr debugLineTech = g_Renderer.GetShaderManager().LoadEffect(str_debug_line); Renderer::Backend::IDeviceCommandContext* deviceCommandContext = g_Renderer.GetDeviceCommandContext(); SetGraphicsPipelineStateFromTechAndColor( deviceCommandContext, debugLineTech, color, depthTestEnabled); // ...
Instead it should receive it as an argument.
Note:
See TracTickets
for help on using tickets.
Pushing back.