mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
VertexLayout cleanup
This commit is contained in:
@@ -13,12 +13,12 @@ namespace GlitchyEngine.Renderer
|
||||
|
||||
public ID3DBlob* nativeShaderCode ~ _?.Release();
|
||||
|
||||
public this(GraphicsContext context, VertexElement[] ownElements, VertexShader vertexShader)
|
||||
public this(GraphicsContext context, VertexElement[] elements, VertexShader vertexShader)
|
||||
{
|
||||
nativeShaderCode = vertexShader.nativeCode..AddRef();
|
||||
|
||||
_context = context..AddRef();
|
||||
_elements = ownElements;
|
||||
_elements = elements;
|
||||
|
||||
CreateNativeLayout();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user