mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 08:27:05 +00:00
Rename IsNXTBitMask and NxtReference/Release to dawn
This commit is contained in:
committed by
Corentin Wallez
parent
a5ee52d33e
commit
923574eed5
@@ -26,7 +26,7 @@ namespace dawn {
|
||||
};
|
||||
|
||||
template<>
|
||||
struct IsNXTBitmask<Color> {
|
||||
struct IsDawnBitmask<Color> {
|
||||
static constexpr bool enable = true;
|
||||
};
|
||||
|
||||
|
||||
@@ -21,11 +21,11 @@ class Object : public dawn::ObjectBase<Object, int*> {
|
||||
using ObjectBase::ObjectBase;
|
||||
using ObjectBase::operator=;
|
||||
|
||||
static void NxtReference(int* handle) {
|
||||
static void DawnReference(int* handle) {
|
||||
ASSERT_LT(0, *handle);
|
||||
*handle += 1;
|
||||
}
|
||||
static void NxtRelease(int* handle) {
|
||||
static void DawnRelease(int* handle) {
|
||||
ASSERT_LT(0, *handle);
|
||||
*handle -= 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user