Port fix from 2.0 to trunk. Problem discovered thanks to Jern-Kuan.
Port fix from 2.0 to trunk. Problem discovered thanks to Jern-Kuan.

Gilead/nvidia-texture-tools,Gilead/nvidia-texture-tools,Gilead/nvidia-texture-tools,Gilead/nvidia-texture-tools