Compare commits
4 Commits
54d808c24e
...
dad9293ad2
Author | SHA1 | Date |
---|---|---|
|
dad9293ad2 | |
|
d6e0feeecf | |
|
1a07a71745 | |
|
7d3bf4843a |
|
@ -13,7 +13,7 @@ namespace MoonWorks.Graphics
|
|||
|
||||
public unsafe ShaderModule(GraphicsDevice device, string filePath) : base(device)
|
||||
{
|
||||
using (FileStream stream = new FileStream(filePath, FileMode.Open, FileAccess.Read))
|
||||
using (FileStream stream = new FileStream(filePath, FileMode.Open))
|
||||
{
|
||||
Handle = CreateFromStream(device, stream);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue