softgpu: Use switch case for different texture mapping mode

Only cleanup and no functional changes