summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-02-16 05:12:55 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-02-16 05:12:55 +0000
commit247b50d9a2bbf991d38d74cb3b51a1f939875678 (patch)
tree5e471af837123d9a2791a8208f730e4c3cba0d46 /Graphics/GraphicsEngine
parentFixed minor issue in BufferDesc ctor (diff)
downloadDiligentCore-247b50d9a2bbf991d38d74cb3b51a1f939875678.tar.gz
DiligentCore-247b50d9a2bbf991d38d74cb3b51a1f939875678.zip
TraceLineThroughGrid: fixed a problem where end point of the line is missed due to floating point precision issues
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/DeviceContext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngine/interface/DeviceContext.h b/Graphics/GraphicsEngine/interface/DeviceContext.h
index 7df48815..79f8bd39 100644
--- a/Graphics/GraphicsEngine/interface/DeviceContext.h
+++ b/Graphics/GraphicsEngine/interface/DeviceContext.h
@@ -323,7 +323,7 @@ typedef struct DrawIndirectAttribs DrawIndirectAttribs;
struct DrawIndexedIndirectAttribs
{
/// The type of the elements in the index buffer.
- /// Allowed values: VT_UINT16 and VT_UINT32. Ignored if DrawAttribs::IsIndexed is False.
+ /// Allowed values: VT_UINT16 and VT_UINT32.
VALUE_TYPE IndexType DEFAULT_INITIALIZER(VT_UNDEFINED);
/// Additional flags, see Diligent::DRAW_FLAGS.
@@ -557,7 +557,7 @@ typedef struct Rect Rect;
struct CopyTextureAttribs
{
/// Source texture to copy data from.
- ITexture* pSrcTexture DEFAULT_INITIALIZER(nullptr);
+ ITexture* pSrcTexture DEFAULT_INITIALIZER(nullptr);
/// Mip level of the source texture to copy data from.
Uint32 SrcMipLevel DEFAULT_INITIALIZER(0);