Skip to content

Commit 9e1dd17

Browse files
authored
Update DirectXTex.h
Code review
1 parent cd88f0b commit 9e1dd17

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

DirectXTex/DirectXTex.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -471,8 +471,8 @@ namespace DirectX
471471
// Shorten size without reallocation
472472

473473
private:
474-
uint8_t* m_buffer;
475-
size_t m_size;
474+
uint8_t* m_buffer;
475+
size_t m_size;
476476
};
477477

478478
//---------------------------------------------------------------------------------
@@ -953,7 +953,7 @@ namespace DirectX
953953
// DDS helper functions
954954
HRESULT __cdecl EncodeDDSHeader(
955955
_In_ const TexMetadata& metadata, DDS_FLAGS flags,
956-
_Out_writes_bytes_to_opt_(maxsize, required) void* pDestination, _In_ size_t maxsize,
956+
_Out_writes_bytes_to_opt_(maxsize, required) uint8_t* pDestination, _In_ size_t maxsize,
957957
_Out_ size_t& required) noexcept;
958958

959959
//---------------------------------------------------------------------------------

0 commit comments

Comments
 (0)