Skip to content

Commit

Permalink
Minor code review
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Oct 9, 2024
1 parent 3d519cd commit 4c9e52b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Utilities/WaveFrontReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -589,13 +589,13 @@ namespace DX

HRESULT LoadVBO(_In_z_ const wchar_t* szFileName)
{
Clear();

if (!szFileName)
return E_INVALIDARG;

using namespace DirectX;

Clear();

#ifdef _WIN32
wchar_t fname[_MAX_FNAME] = {};
_wsplitpath_s(szFileName, nullptr, 0, nullptr, 0, fname, _MAX_FNAME, nullptr, 0);
Expand Down

0 comments on commit 4c9e52b

Please sign in to comment.