fixed testbench Wextra and texture mapping