Disable broken font setting in mruby

This commit is contained in:
Varun Patil 2020-05-07 20:08:37 +05:30
parent 4c137df992
commit 84e35cbac5
1 changed files with 6 additions and 0 deletions

View File

@ -96,6 +96,9 @@ MRB_METHOD(FontGetName)
MRB_METHOD(FontSetName)
{
// TODO: Fix this implementation
// It should be able to handle both string and array sets
#if 0
Font *f = getPrivateData<Font>(mrb, self);
mrb_value name;
@ -108,6 +111,9 @@ MRB_METHOD(FontSetName)
mrb_iv_set(mrb, self, mrb_intern_cstr(mrb, "name"), name);
return name;
#else
return mrb_nil_value();
#endif
}
template<class C>