font update
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user