summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/ShaderCompiler.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2017-01-15 22:46:43 +0100
committerJosJuice <josjuice@gmail.com>2017-06-15 21:34:04 +0200
commitcf94ce63051458a2d8ac8b340a1020b863f1a6dd (patch)
tree89f54c7ce532186cf87d0d64270bf2ec77d78643 /Source/Core/VideoBackends/Vulkan/ShaderCompiler.cpp
parentf09ceaa735080b8cde5f9102e7f061530d9b474e (diff)
Add a namespace to OpenFStream
For consistency with the other functions in FileUtil.h.
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/ShaderCompiler.cpp')
-rw-r--r--Source/Core/VideoBackends/Vulkan/ShaderCompiler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/ShaderCompiler.cpp b/Source/Core/VideoBackends/Vulkan/ShaderCompiler.cpp
index d4d095bb78..75bf99a3ba 100644
--- a/Source/Core/VideoBackends/Vulkan/ShaderCompiler.cpp
+++ b/Source/Core/VideoBackends/Vulkan/ShaderCompiler.cpp
@@ -131,7 +131,7 @@ bool CompileShaderToSPV(SPIRVCodeVector* out_code, EShLanguage stage, const char
"%sbad_%s_%04i.txt", File::GetUserPath(D_DUMP_IDX).c_str(), stage_filename, counter++);
std::ofstream stream;
- OpenFStream(stream, filename, std::ios_base::out);
+ File::OpenFStream(stream, filename, std::ios_base::out);
if (stream.good())
{
stream << full_source_code << std::endl;
@@ -199,7 +199,7 @@ bool CompileShaderToSPV(SPIRVCodeVector* out_code, EShLanguage stage, const char
stage_filename, counter++);
std::ofstream stream;
- OpenFStream(stream, filename, std::ios_base::out);
+ File::OpenFStream(stream, filename, std::ios_base::out);
if (stream.good())
{
stream << full_source_code << std::endl;