mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-06 05:01:53 +00:00
Use static D3D11 device and context
This commit is contained in:
@@ -74,15 +74,12 @@ namespace GlitchyEngine.Renderer
|
||||
|
||||
public class BlendState : RefCounter
|
||||
{
|
||||
protected GraphicsContext _context ~ _?.ReleaseRef();
|
||||
|
||||
protected BlendStateDescription _desc;
|
||||
|
||||
public BlendStateDescription Description => _desc;
|
||||
|
||||
public this(GraphicsContext context, BlendStateDescription desc)
|
||||
public this(BlendStateDescription desc)
|
||||
{
|
||||
_context = context..AddRef();
|
||||
_desc = desc;
|
||||
|
||||
PlatformCreateBlendState();
|
||||
|
||||
Reference in New Issue
Block a user