ext/sprite.c in ray-0.2.0 vs ext/sprite.c in ray-0.2.1
- old
+ new
@@ -18,9 +18,10 @@
say_sprite *sprite = say_sprite_create();
VALUE rb = Data_Wrap_Struct(self, NULL, say_sprite_free, sprite);
say_drawable_set_shader_proc(sprite->drawable, ray_drawable_shader_proc);
say_drawable_set_other_data(sprite->drawable, (void*)rb);
+ rb_iv_set(rb, "@shader_attributes", Qnil);
return rb;
}
VALUE ray_sprite_init_copy(VALUE self, VALUE orig) {