Fixes in texture adapter.

Did not transfer param attribute, did not update any attribute.
Relaxed line test