Small oversight fix for "sample_texLevel"

This commit is contained in:
Kieran Hanrahan 2014-11-11 00:57:11 +00:00
parent b60e5a62fc
commit e8a92ae731
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ float4 sample_texLevel(SamplerState texSample, float2 t, float lod)
#if (GLSL == 1)
return texture(texSample, t, lod);
#else
return Texture.Sample(texSample, t, lod);
return Texture.SampleLevel(texSample, t, lod);
#endif
}