Replaced NULL with nullptr for pointers in sample SimpleTexturedDirectx11.

This commit is contained in:
Marc-Antoine Lortie
2020-04-04 15:37:50 -04:00
parent 085212e58a
commit 105b2bdeaf
2 changed files with 20 additions and 20 deletions

View File

@@ -22,7 +22,7 @@ bool ModelLoader::Load(HWND hwnd, ID3D11Device * dev, ID3D11DeviceContext * devc
aiProcess_Triangulate |
aiProcess_ConvertToLeftHanded);
if (pScene == NULL)
if (pScene == nullptr)
return false;
this->directory_ = filename.substr(0, filename.find_last_of("/\\"));