aboutsummaryrefslogtreecommitdiff
path: root/system/shaders
diff options
context:
space:
mode:
authorAnton Fedchin <afedchin@ruswizards.com>2015-06-03 22:02:10 +0300
committerAnton Fedchin <afedchin@ruswizards.com>2015-07-04 22:30:32 +0300
commit3db2dcb6e8e86ad1b030ea8bcfd737fb44aa4ba9 (patch)
treef0f415b03dffd8175c9bddc3aeb79b992d82bcce /system/shaders
parent335d4f02319937ad93efe86b37a8fdbbaa4320f5 (diff)
[win32/dx] Fixed segfault on feature level 9.1.
Diffstat (limited to 'system/shaders')
-rw-r--r--system/shaders/guishader_fonts.hlsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/shaders/guishader_fonts.hlsl b/system/shaders/guishader_fonts.hlsl
index 27fbf4264f..c0acdb7788 100644
--- a/system/shaders/guishader_fonts.hlsl
+++ b/system/shaders/guishader_fonts.hlsl
@@ -24,7 +24,7 @@ Texture2D texFont : register(t0);
float4 PS(PS_INPUT input) : SV_TARGET
{
- input.color.a *= texFont.Sample(LinearSampler, input.tex).a;
+ input.color.a *= texFont.Sample(LinearSampler, input.tex).r;
return input.color;
}