diff options
author | Anton Fedchin <afedchin@ruswizards.com> | 2015-08-20 17:35:05 +0300 |
---|---|---|
committer | Anton Fedchin <afedchin@ruswizards.com> | 2015-08-28 11:15:06 +0300 |
commit | f161c3fcf1230f87bb2642b5378b090224e5f999 (patch) | |
tree | 57588775f7c9b519578cd188515cfdfac1de3df1 /system/shaders/guishader_fonts.hlsl | |
parent | bfd7bd49f012eee9ca625ed98acd2238f865a374 (diff) |
[guilib] GUIShaderDX: Added color adjustment to shaders for correct displaying limited color range.
Diffstat (limited to 'system/shaders/guishader_fonts.hlsl')
-rw-r--r-- | system/shaders/guishader_fonts.hlsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/shaders/guishader_fonts.hlsl b/system/shaders/guishader_fonts.hlsl index c0acdb7788..def887d162 100644 --- a/system/shaders/guishader_fonts.hlsl +++ b/system/shaders/guishader_fonts.hlsl @@ -25,7 +25,7 @@ Texture2D texFont : register(t0); float4 PS(PS_INPUT input) : SV_TARGET { input.color.a *= texFont.Sample(LinearSampler, input.tex).r; - return input.color; + return adjustColorRange(input.color); } |