Skip to content

Commit 03e247b

Browse files
committed
IGPUCommandBuffer improve fail reset message
1 parent 7c3ae4c commit 03e247b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nbl/video/IGPUCommandBuffer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ bool IGPUCommandBuffer::reset(const core::bitflag<RESET_FLAGS> flags)
156156
{
157157
if (!canReset())
158158
{
159-
m_logger.log("Failed to reset command buffer.", system::ILogger::ELL_ERROR);
159+
m_logger.log("Failed to reset command buffer, state is: %d", system::ILogger::ELL_ERROR, (uint32_t)m_state);
160160
m_state = STATE::INVALID;
161161
return false;
162162
}

0 commit comments

Comments
 (0)