Skip to content

Commit

Permalink
Additional error check on scene load
Browse files Browse the repository at this point in the history
  • Loading branch information
Devaniti committed Dec 17, 2022
1 parent 39f388b commit 7f50c39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions D3D12Backend/Containers/Streaming/SceneDataReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ namespace Boolka
CombinePath(folderPath, BLK_SCENE_HEADER_FILENAME, headerFile);

m_Header = DebugFileReader::ReadFile(headerFile.c_str());
BLK_CRITICAL_ASSERT(m_Header.m_Data);

unsigned char* data = static_cast<unsigned char*>(m_Header.m_Data);

Expand Down

0 comments on commit 7f50c39

Please sign in to comment.