remove one unneded texture bind operation

in generatemipmaps

Signed-off-by: tgfrerer <tim@poniesandlight.co.uk>