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:
@@ -19,7 +19,7 @@ namespace GlitchyEngine.Renderer
|
||||
public uint32 IndexCount => _indexCount;
|
||||
public IndexFormat Format => _format;
|
||||
|
||||
public this(GraphicsContext context, uint32 indexCount, Usage usage = .Default, CPUAccessFlags cpuAccess = .None, IndexFormat indexFormat = .Index16Bit) : base(context)
|
||||
public this(uint32 indexCount, Usage usage = .Default, CPUAccessFlags cpuAccess = .None, IndexFormat indexFormat = .Index16Bit)
|
||||
{
|
||||
_indexCount = indexCount;
|
||||
_format = indexFormat;
|
||||
|
||||
Reference in New Issue
Block a user