Hey Christian,

Op 13-02-12 13:09, Christian König schreef:
No, it's not really needed, but I had it this way in the first place and you need a lot of "if (something_is_not_null) cleanup(something)" in the destructor functions, and with this implementation we only need to test if it's allocated once, and that looked allot cleaner.
It will also allow you to do away with the error cleanup in vl_median_filter_init,
by just doing vl_median_filter_cleanup.

Do you really need to re-create the entire filter though? Wouldn't just uploading new quads be enough?

You could just choose not to call vl_median_filter_render if it's not enabled.

~Maarten
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to