Text Rendering works

This commit is contained in:
Dynamitos
2022-04-15 23:45:44 +02:00
parent eb23264c40
commit 03e1a5784d
70 changed files with 1178 additions and 476 deletions
+4 -2
View File
@@ -154,6 +154,10 @@ public:
template <typename F>
constexpr RefPtr(const RefPtr<F> &other)
{
if(other == nullptr)
{
return;
}
F *f = other.getObject()->getHandle();
assert(static_cast<T *>(f));
object = (RefObject<T, Deleter> *)other.getObject();
@@ -357,5 +361,3 @@ private:
RefPtr<T> pointer;
};
} // namespace Seele
using namespace Seele;