Test & Small fixes
This commit is contained in:
parent
21eaaa4900
commit
3e635aa57d
3 changed files with 2 additions and 3 deletions
|
|
@ -113,7 +113,6 @@ namespace SM.Base.PostEffects
|
|||
_shader.Draw(collection =>
|
||||
{
|
||||
collection["renderedTexture"].SetTexture(first ? _source.ColorAttachments["color"] : (hoz ? _yBuffer : _xBuffer));
|
||||
collection["RenderScale"].SetUniform1(_textureScale);
|
||||
|
||||
collection["First"].SetUniform1(first);
|
||||
collection["Threshold"].SetUniform1(Threshold);
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ namespace SM.Base.Windows
|
|||
protected override void OnClosing(CancelEventArgs e)
|
||||
{
|
||||
base.OnClosing(e);
|
||||
_fixedUpdateThread.Abort();
|
||||
_fixedUpdateThread?.Abort();
|
||||
}
|
||||
|
||||
public void Update(UpdateContext context)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue