mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Materials kind of working and used in some places
- Also Texture viewer fixes
This commit is contained in:
@@ -133,7 +133,7 @@ class ShaderLoader : IProcessedAssetLoader
|
||||
}
|
||||
|
||||
Try!(stream.TryRead(buffer.RawData));
|
||||
Try!(buffer.Update());
|
||||
Try!(buffer.Apply());
|
||||
|
||||
if (vertexShaderBindPoint != -1)
|
||||
effect.VertexShader.Buffers.Add(vertexShaderBindPoint, buffer.Name, buffer);
|
||||
|
||||
Reference in New Issue
Block a user