ext/text.c in ray-0.2.0 vs ext/text.c in ray-0.2.1
- old
+ new
@@ -19,9 +19,11 @@
say_text *text = say_text_create();
VALUE rb = Data_Wrap_Struct(self, NULL, say_text_free, text);
say_drawable_set_shader_proc(text->drawable, ray_drawable_shader_proc);
say_drawable_set_other_data(text->drawable, (void*)rb);
+ rb_iv_set(rb, "@shader_attributes", Qnil);
+ rb_iv_set(rb, "@font", Qnil);
return rb;
}
static