mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Refactored FontRenderer, fixed Sandbox2D
This commit is contained in:
@@ -136,7 +136,7 @@ namespace Sandbox
|
||||
|
||||
Font fonty ~ _.ReleaseRef();
|
||||
|
||||
VertexLayout layout ~ delete _;
|
||||
VertexLayout layout ~ _?.ReleaseRef();
|
||||
|
||||
GeometryBinding quadBinding ~ _?.ReleaseRef();
|
||||
|
||||
@@ -308,6 +308,7 @@ namespace Sandbox
|
||||
|
||||
Renderer2D.End();
|
||||
*/
|
||||
|
||||
_alphaBlendState.Bind();
|
||||
Renderer2D.Begin(.FrontToBack, .(_context.SwapChain.Width, _context.SwapChain.Height));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user