Skip to content

Commit

Permalink
D3DX12 update from DirectX-Graphics-Samples for const correctness
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Jul 18, 2016
1 parent d3cb81d commit dad143a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Src/d3dx12.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#ifndef __D3DX12_H__
#define __D3DX12_H__

#include <d3d12.h>
#include "d3d12.h"

#if defined( __cplusplus )

Expand Down Expand Up @@ -1107,11 +1107,11 @@ struct CD3DX12_CPU_DESCRIPTOR_HANDLE : public D3D12_CPU_DESCRIPTOR_HANDLE
ptr += offsetScaledByIncrementSize;
return *this;
}
bool operator==(_In_ const D3D12_CPU_DESCRIPTOR_HANDLE& other)
bool operator==(_In_ const D3D12_CPU_DESCRIPTOR_HANDLE& other) const
{
return (ptr == other.ptr);
}
bool operator!=(_In_ const D3D12_CPU_DESCRIPTOR_HANDLE& other)
bool operator!=(_In_ const D3D12_CPU_DESCRIPTOR_HANDLE& other) const
{
return (ptr != other.ptr);
}
Expand Down Expand Up @@ -1168,11 +1168,11 @@ struct CD3DX12_GPU_DESCRIPTOR_HANDLE : public D3D12_GPU_DESCRIPTOR_HANDLE
ptr += offsetScaledByIncrementSize;
return *this;
}
inline bool operator==(_In_ const D3D12_GPU_DESCRIPTOR_HANDLE& other)
inline bool operator==(_In_ const D3D12_GPU_DESCRIPTOR_HANDLE& other) const
{
return (ptr == other.ptr);
}
inline bool operator!=(_In_ const D3D12_GPU_DESCRIPTOR_HANDLE& other)
inline bool operator!=(_In_ const D3D12_GPU_DESCRIPTOR_HANDLE& other) const
{
return (ptr != other.ptr);
}
Expand Down

0 comments on commit dad143a

Please sign in to comment.