font update

This commit is contained in:
Turanszki Janos
2019-11-09 22:04:25 +00:00
parent 8b0400edec
commit 173fd99c5f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -12,5 +12,5 @@ struct VertextoPixel
float4 main(VertextoPixel PSIn) : SV_TARGET
{
return texture_font.Sample(sampler_font, PSIn.tex).rrrr * g_xFont_Color;
return texture_font.SampleLevel(sampler_font, PSIn.tex, 0).rrrr * g_xFont_Color;
}
+1 -1
View File
@@ -270,7 +270,7 @@ void wiFont::Initialize()
device->CreateBlendState(&bd, &blendState);
SamplerDesc samplerDesc;
samplerDesc.Filter = FILTER_MIN_MAG_MIP_LINEAR;
samplerDesc.Filter = FILTER_MIN_MAG_LINEAR_MIP_POINT;
samplerDesc.AddressU = TEXTURE_ADDRESS_BORDER;
samplerDesc.AddressV = TEXTURE_ADDRESS_BORDER;
samplerDesc.AddressW = TEXTURE_ADDRESS_BORDER;
+1 -1
View File
@@ -9,7 +9,7 @@ namespace wiVersion
// minor features, major updates
const int minor = 31;
// minor bug fixes, alterations, refactors, updates
const int revision = 6;
const int revision = 7;
long GetVersion()