diff options
| author | Lioncash <mathew1800@gmail.com> | 2016-09-09 06:26:52 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2016-09-09 06:30:34 -0400 |
| commit | 5b3c74a31a67c468a21c034b9cf512c8dcfb1a75 (patch) | |
| tree | 6e31590b464701c6265a10e342a22dd00f164191 /Source/Core/VideoBackends/OGL/TextureCache.cpp | |
| parent | 1eacb8fd598702afa05755e996f66321df5bbd48 (diff) | |
OGL: Remove unnecessary c_str calls
Diffstat (limited to 'Source/Core/VideoBackends/OGL/TextureCache.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/TextureCache.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoBackends/OGL/TextureCache.cpp b/Source/Core/VideoBackends/OGL/TextureCache.cpp index 82d036a631..6643e6b9cd 100644 --- a/Source/Core/VideoBackends/OGL/TextureCache.cpp +++ b/Source/Core/VideoBackends/OGL/TextureCache.cpp @@ -399,14 +399,14 @@ void TextureCache::CompileShaders() const char* depth_layer = g_ActiveConfig.bStereoEFBMonoDepth ? "0.0" : "f_uv0.z"; ProgramShaderCache::CompileShader(s_ColorCopyProgram, - StringFromFormat(vertex_program, prefix, prefix).c_str(), + StringFromFormat(vertex_program, prefix, prefix), color_copy_program, geo_program); ProgramShaderCache::CompileShader(s_ColorMatrixProgram, - StringFromFormat(vertex_program, prefix, prefix).c_str(), + StringFromFormat(vertex_program, prefix, prefix), color_matrix_program, geo_program); ProgramShaderCache::CompileShader( - s_DepthMatrixProgram, StringFromFormat(vertex_program, prefix, prefix).c_str(), - StringFromFormat(depth_matrix_program, depth_layer).c_str(), geo_program); + s_DepthMatrixProgram, StringFromFormat(vertex_program, prefix, prefix), + StringFromFormat(depth_matrix_program, depth_layer), geo_program); s_ColorMatrixUniform = glGetUniformLocation(s_ColorMatrixProgram.glprogid, "colmat"); s_DepthMatrixUniform = glGetUniformLocation(s_DepthMatrixProgram.glprogid, "colmat"); |
