Fixed small bug in testtextures tool with command line options.