fix gcc/clang

This commit is contained in:
Ricardo Luís Vaz Silva 2023-11-20 19:05:02 -03:00 committed by Rachael Alexanderson
parent 5d5e7ca042
commit b6b6b0cb89

View file

@ -1,5 +1,7 @@
#pragma once
#include <cstddef>
enum class ETextureType : uint8_t
{
Any,
@ -28,7 +30,7 @@ class FTextureID
public:
FTextureID() = default;
FTextureID(nullptr_t) : texnum(0) {}
FTextureID(std::nullptr_t) : texnum(0) {}
bool isNull() const { return texnum == 0; }
bool isValid() const { return texnum > 0; }
bool Exists() const { return texnum >= 0; }