Vladimír Vondruš
60fd42b505
Here we go again.
2 years ago
Vladimír Vondruš
df484b300a
Adapt to Corrade's Utility::Debug header cleanup.
2 years ago
Vladimír Vondruš
eef921c238
It's October already?!
2 years ago
Vladimír Vondruš
2619dc33f1
doc: drop the redundant Magnum prefix from snippet files.
...
I accidentally did that at first, and then "for consistency" continued
with that for a decade.
2 years ago
Vladimír Vondruš
bbb54a9df8
It's 2023 already!
3 years ago
Vladimír Vondruš
3e8d393b86
Fix build with CORRADE_STANDARD_ASSERT.
...
And clean up the warnings. Like in Corrade it's Debug build only, for
the Release build it's better to just use CORRADE_NO_ASSERT instead.
3 years ago
Vladimír Vondruš
822fa0d644
Updated copyright year.
5 years ago
Vladimír Vondruš
18817ed58a
Vk: hello, MinGW, why are you so special again?!
5 years ago
Vladimír Vondruš
1abb67a119
Vk: allow multiple values in MAGNUM_VK_INTERNAL_ASSERT_SUCCESS_OR().
...
Breaking this macro yet again, sorry -- now the result values are
specified last and there can be any number of them, however they need to
be all prefixed, as adding the prefix implicitly with the macro would be
too much of a pain to implement, especially given the poor preprocessor
capabilities of MSVC.
5 years ago
Vladimír Vondruš
3d136503d8
Updated copyright year.
6 years ago
Vladimír Vondruš
2bcb5d6d9e
Vk: more useful MAGNUM_VK_INTERNAL_ASSERT_SUCCESS_OR().
...
Another breaking change here, sorry -- I don't expect anyone to be
seriously using these ... yet :)
6 years ago
Vladimír Vondruš
ed67135b56
Vk: rename the *ASSERT_{RESULT => SUCCESS}(), add an incomplete variant.
...
We'll need that to optimize some commands, such as device enumeration.
6 years ago
Vladimír Vondruš
86267f1a78
Vk: move MAGNUM_VK_INTERNAL_ASSER_RESULT() to a dedicated header.
...
Similarly to Corrade Assert.h, so it's possible to include this header
without having to worry about irrelevant overhead when asserts are
disabled.
Also test it properly, as it should have been from the start.
6 years ago
Vladimír Vondruš
f4f8612f7e
Vk: wrap VkResult, add an assert macro for it.
6 years ago