mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Added SamplerState for white texture
This commit is contained in:
@@ -124,6 +124,12 @@ namespace GlitchyEngine.Renderer
|
|||||||
|
|
||||||
Color color = .White;
|
Color color = .White;
|
||||||
whiteTexture.SetData(&color);
|
whiteTexture.SetData(&color);
|
||||||
|
|
||||||
|
SamplerState sampler = SamplerStateManager.GetSampler(SamplerStateDescription());
|
||||||
|
|
||||||
|
whiteTexture.SamplerState = sampler;
|
||||||
|
|
||||||
|
sampler..ReleaseRef();
|
||||||
}
|
}
|
||||||
|
|
||||||
void InitInstancing(EffectLibrary effectLibrary)
|
void InitInstancing(EffectLibrary effectLibrary)
|
||||||
|
|||||||
Reference in New Issue
Block a user