- change CreateTexture to CreateTextureL for height map.