Compare commits
	
		
			5 Commits 
		
	
	
		
			dad9293ad2
			...
			54d808c24e
		
	
	| Author | SHA1 | Date | 
|---|---|---|
|  | 54d808c24e | |
|  | c4275e7434 | |
|  | 32a30e1b6b | |
|  | 0034b24eff | |
|  | 3ffdf8a929 | 
|  | @ -13,7 +13,7 @@ namespace MoonWorks.Graphics | ||||||
| 
 | 
 | ||||||
| 		public unsafe ShaderModule(GraphicsDevice device, string filePath) : base(device) | 		public unsafe ShaderModule(GraphicsDevice device, string filePath) : base(device) | ||||||
| 		{ | 		{ | ||||||
| 			using (FileStream stream = new FileStream(filePath, FileMode.Open)) | 			using (FileStream stream = new FileStream(filePath, FileMode.Open, FileAccess.Read)) | ||||||
| 			{ | 			{ | ||||||
| 				Handle = CreateFromStream(device, stream); | 				Handle = CreateFromStream(device, stream); | ||||||
| 			} | 			} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue