Rename IsNXTBitMask and NxtReference/Release to dawn

This commit is contained in:
Corentin Wallez
2018-07-18 15:26:19 +02:00
committed by Corentin Wallez
parent a5ee52d33e
commit 923574eed5
5 changed files with 16 additions and 16 deletions

View File

@@ -26,7 +26,7 @@ namespace dawn {
};
template<>
struct IsNXTBitmask<Color> {
struct IsDawnBitmask<Color> {
static constexpr bool enable = true;
};

View File

@@ -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;
}