Core/OpenMode: Rename ReadOnly/WriteOnly to Read/Write

This commit is contained in:
Lynix
2023-12-25 19:49:03 +01:00
parent 754a3d3614
commit 4065fbfb1a
24 changed files with 42 additions and 42 deletions

View File

@@ -190,7 +190,7 @@ void MainWindow::OnCompile()
if (!fileName.endsWith("nzslb", Qt::CaseInsensitive))
fileName += ".nzslb";
Nz::File file(fileName.toStdString(), Nz::OpenMode::WriteOnly);
Nz::File file(fileName.toStdString(), Nz::OpenMode::Write);
nzsl::Serializer serializer;
nzsl::Ast::SerializeShader(serializer, *shaderModule);