diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2023-01-25 23:06:30 +0100 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2023-01-25 23:06:30 +0100 |
| commit | 90a0afd18f080088cac068d92810fb630225d6be (patch) | |
| tree | 341310124fec15c6a02708815377db0cddb6b252 /include/api-test/handle.hpp | |
| parent | 0a882c4b85423a170455f05a52d18f7fa7c9220b (diff) | |
Working compute api with uniforms
Diffstat (limited to 'include/api-test/handle.hpp')
| -rw-r--r-- | include/api-test/handle.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/api-test/handle.hpp b/include/api-test/handle.hpp index c14e212..2355191 100644 --- a/include/api-test/handle.hpp +++ b/include/api-test/handle.hpp @@ -4,5 +4,7 @@ template<typename T> struct handle { - const uint32_t id; + uint32_t id = handle::invalid_handle; + + static constexpr uint32_t invalid_handle = -1; }; |
