Skip to content

Fixed null checking in IndexBufferBinding equals operator#3078

Open
johang88 wants to merge 2 commits intostride3d:masterfrom
johang88:index-buffer-binding-equality
Open

Fixed null checking in IndexBufferBinding equals operator#3078
johang88 wants to merge 2 commits intostride3d:masterfrom
johang88:index-buffer-binding-equality

Conversation

@johang88
Copy link
Contributor

PR Details

The == would throw on null arrguments causing a crash in MeshRenderFeature if no index buffer was set in the draw data.

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My change requires a change to the documentation.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have built and run the editor to try this change out.

@johang88 johang88 force-pushed the index-buffer-binding-equality branch from 9b343ff to 8e60165 Compare March 1, 2026 06:27
Co-authored-by: Jeremy Pritts <49847914+ds5678@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants