From 2185465d346ddbbc9e94ade7628038f93ff665cd Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 26 Mar 2014 19:54:09 -0400 Subject: [PATCH] Remove an unnecessary c_str call. --- rpcs3/Emu/GS/GL/GLProgramBuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/GS/GL/GLProgramBuffer.cpp b/rpcs3/Emu/GS/GL/GLProgramBuffer.cpp index e7afc40429..4ca63b9d6d 100644 --- a/rpcs3/Emu/GS/GL/GLProgramBuffer.cpp +++ b/rpcs3/Emu/GS/GL/GLProgramBuffer.cpp @@ -8,7 +8,7 @@ int GLProgramBuffer::SearchFp(const RSXShaderProgram& rsx_fp, GLShaderProgram& g if(memcmp(&m_buf[i].fp_data[0], &Memory[rsx_fp.addr], m_buf[i].fp_data.GetCount()) != 0) continue; gl_fp.id = m_buf[i].fp_id; - gl_fp.shader = m_buf[i].fp_shader.c_str(); + gl_fp.shader = m_buf[i].fp_shader; return i; }