diff options
Diffstat (limited to 'video.hpp')
-rw-r--r-- | video.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -23,6 +23,9 @@ struct Primitive_Id { bool operator==(Primitive_Id<T> other) const { return index == other.index; } + bool operator!=(Primitive_Id<T> other) const { + return index != other.index; + } operator bool() const { return index != 0; } |