From e8a92ae73145ad1ccac913ff8ac6214f2e763108 Mon Sep 17 00:00:00 2001 From: Kieran Hanrahan Date: Tue, 11 Nov 2014 00:57:11 +0000 Subject: [PATCH] Small oversight fix for "sample_texLevel" --- bin/shader.fx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/shader.fx b/bin/shader.fx index 85d97b29be..6eaea0576e 100644 --- a/bin/shader.fx +++ b/bin/shader.fx @@ -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 }