Compare commits

..

5 Commits

Author SHA1 Message Date
cosmonaut 54d808c24e Refresh 1.8.0 2022-09-29 14:39:37 -07:00
cosmonaut c4275e7434 swapchain API revision 2022-09-29 14:39:37 -07:00
cosmonaut 32a30e1b6b can change FrameLimiterSettings at runtime 2022-09-29 14:39:37 -07:00
cosmonaut 0034b24eff initial refresh backend selection API support 2022-09-29 14:39:37 -07:00
TheSpydog 3ffdf8a929 Specify readonly access when creating ShaderModule stream (#26)
Co-authored-by: Caleb Cornett <caleb.cornett@outlook.com>
Reviewed-on: #26
Co-authored-by: TheSpydog <thespydog@noreply.example.org>
Co-committed-by: TheSpydog <thespydog@noreply.example.org>
2022-09-28 23:52:29 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ namespace MoonWorks.Graphics
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);
}