Fixed circle instancing buffer + clip pixels

This commit is contained in:
Simon Lübeß
2021-10-15 12:57:32 +02:00
parent dcb8424c2d
commit adaf62de62
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ namespace GlitchyEngine.Renderer
}
{
s_circleInstanceBuffer = new VertexBuffer(typeof(BatchVertex), 1024, .Dynamic, .Write);
s_circleInstanceBuffer = new VertexBuffer(typeof(CircleBatchVertex), 1024, .Dynamic, .Write);
s_circleInstanceBuffer.SetData(0);
VertexElement[] vertexElements = new .(