Text Rendering works

This commit is contained in:
Dynamitos committed 2022-04-15 23:45:44 +02:00
1 parent eb23264c40
commit 03e1a5784d
70 files changed
+1178 -476

No files matched your search

+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;