Use maximum possible resolution for bmp->texture
Only resize bmp if necessary