Skip to content

Commit

Permalink
Hello triangle sample: Replace deprecated debug reports extension, fi…
Browse files Browse the repository at this point in the history
…x validation and clean up code (#1199)

* Replace deprecated debug reports extension with debug utils

Fix validation layers not being enabled in debug builds
Refs #1168

* Update comment

* Fix error messages

* Remove unnecessary per-frame properties

* Clean up instance and device creation code
Use extension name constants instead of strings
Remove unnecessary arguments

* Remove unnecessary passing of the context

* Move resource destruction into the sample class destrutor
The teardown function was only used for that anyway and was unnecessary

* Remove context parameter from function doc

* Doc cleanup

* Remove unnecessary function for frame buffer teardown, also remove duplicate queue idle wait
Add comments, throw if no device is found
Males code easier to follow

* Making clang format happy
  • Loading branch information
SaschaWillems authored Nov 13, 2024
1 parent c5a7706 commit 5b2bc1e
Show file tree
Hide file tree
Showing 2 changed files with 121 additions and 176 deletions.
Loading

0 comments on commit 5b2bc1e

Please sign in to comment.