Skip to content

Commit 23bad7e

Browse files
committed
Minor code review
1 parent f610689 commit 23bad7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Auxiliary/DirectXTexXboxDDS.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ HRESULT Xbox::EncodeDDSHeader(
261261
size_t maxsize) noexcept
262262
{
263263
if (!pDestination)
264-
return E_POINTER;
264+
return E_INVALIDARG;
265265

266266
if (maxsize < XBOX_HEADER_SIZE)
267267
return E_NOT_SUFFICIENT_BUFFER;

0 commit comments

Comments
 (0)