Skip to content

Commit

Permalink
Update DirectXTex.h
Browse files Browse the repository at this point in the history
Code review
  • Loading branch information
walbourn authored Oct 7, 2024
1 parent cd88f0b commit 9e1dd17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DirectXTex/DirectXTex.h
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,8 @@ namespace DirectX
// Shorten size without reallocation

private:
uint8_t* m_buffer;
size_t m_size;
uint8_t* m_buffer;
size_t m_size;
};

//---------------------------------------------------------------------------------
Expand Down Expand Up @@ -953,7 +953,7 @@ namespace DirectX
// DDS helper functions
HRESULT __cdecl EncodeDDSHeader(
_In_ const TexMetadata& metadata, DDS_FLAGS flags,
_Out_writes_bytes_to_opt_(maxsize, required) void* pDestination, _In_ size_t maxsize,
_Out_writes_bytes_to_opt_(maxsize, required) uint8_t* pDestination, _In_ size_t maxsize,
_Out_ size_t& required) noexcept;

//---------------------------------------------------------------------------------
Expand Down

0 comments on commit 9e1dd17

Please sign in to comment.