mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 07:25:26 +00:00
use .wx_str() instead of .mb_str(), Dbg console is still broken
This commit is contained in:
parent
fdcdd7769f
commit
b9c3dc352d
32 changed files with 216 additions and 211 deletions
|
|
@ -20,7 +20,7 @@ int GLProgram::GetLocation(const wxString& name)
|
|||
m_locations[pos].name = name;
|
||||
|
||||
m_locations[pos].loc = glGetUniformLocation(id, name);
|
||||
checkForGlError(wxString::Format("glGetUniformLocation(0x%x, %s)", id, (const char*)name.mb_str()));
|
||||
checkForGlError(wxString::Format("glGetUniformLocation(0x%x, %s)", id, name.wx_str()));
|
||||
return m_locations[pos].loc;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue