mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
RenderAPI changes and removed Context parameter from Effect and Material
This commit is contained in:
@@ -270,7 +270,8 @@ namespace GlitchyEngine.World
|
||||
|
||||
_gammaCorrectEffect.SetTexture("Texture", _compositeTarget, 0);
|
||||
// TODO: iiihhh
|
||||
_gammaCorrectEffect.Bind(Application.Get().Window.Context);
|
||||
_gammaCorrectEffect.ApplyChanges();
|
||||
_gammaCorrectEffect.Bind();
|
||||
|
||||
FullscreenQuad.Draw();
|
||||
}
|
||||
@@ -483,7 +484,8 @@ namespace GlitchyEngine.World
|
||||
|
||||
_gammaCorrectEffect.SetTexture("Texture", _compositeTarget, 0);
|
||||
// TODO: iiihhh
|
||||
_gammaCorrectEffect.Bind(Application.Get().Window.Context);
|
||||
_gammaCorrectEffect.ApplyChanges();
|
||||
_gammaCorrectEffect.Bind();
|
||||
|
||||
FullscreenQuad.Draw();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user