Skip to content

Commit

Permalink
Add debug object name to CB used by SpriteBatch (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn authored Feb 25, 2025
1 parent 1c27cec commit 1482335
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Src/SpriteBatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,8 @@ SpriteBatch::Impl::ContextResources::ContextResources(_In_ ID3D11DeviceContext*
deviceContext = context;
#endif

SetDebugObjectName(constantBuffer.GetBuffer(), "DirectXTK::SpriteBatch");

CreateVertexBuffer();
}

Expand Down

0 comments on commit 1482335

Please sign in to comment.