diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2016-09-09 17:25:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-09 17:25:15 +0200 |
| commit | 586644d89ea43e7a43f74629b4b2349e9af4aa95 (patch) | |
| tree | 6e31590b464701c6265a10e342a22dd00f164191 /Source/Core/VideoBackends/OGL/FramebufferManager.cpp | |
| parent | 1eacb8fd598702afa05755e996f66321df5bbd48 (diff) | |
| parent | 5b3c74a31a67c468a21c034b9cf512c8dcfb1a75 (diff) | |
Merge pull request #4202 from lioncash/cstr
OGL: Remove unnecessary c_str calls
Diffstat (limited to 'Source/Core/VideoBackends/OGL/FramebufferManager.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/FramebufferManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/OGL/FramebufferManager.cpp b/Source/Core/VideoBackends/OGL/FramebufferManager.cpp index a487cf1ac1..2a99f25826 100644 --- a/Source/Core/VideoBackends/OGL/FramebufferManager.cpp +++ b/Source/Core/VideoBackends/OGL/FramebufferManager.cpp @@ -364,9 +364,9 @@ FramebufferManager::FramebufferManager(int targetWidth, int targetHeight, int ms " }\n" "}\n"; - ProgramShaderCache::CompileShader(m_pixel_format_shaders[0], vs, ps_rgb8_to_rgba6.c_str(), + ProgramShaderCache::CompileShader(m_pixel_format_shaders[0], vs, ps_rgb8_to_rgba6, (m_EFBLayers > 1) ? gs : ""); - ProgramShaderCache::CompileShader(m_pixel_format_shaders[1], vs, ps_rgba6_to_rgb8.c_str(), + ProgramShaderCache::CompileShader(m_pixel_format_shaders[1], vs, ps_rgba6_to_rgb8, (m_EFBLayers > 1) ? gs : ""); ProgramShaderCache::CompileShader( |
