fixed wrong sampler2D assignment

i did a wrong sampler2D assignment which worked in release versions,
but not in the latest betas…