mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 07:25:26 +00:00
c++11 fixups. Initialise to zero where possible. note: cellAudio looks quite messed up.
This commit is contained in:
parent
582825934c
commit
6bd044f9be
5 changed files with 39 additions and 65 deletions
|
|
@ -643,9 +643,8 @@ void GLVertexProgram::Compile()
|
|||
|
||||
if(r)
|
||||
{
|
||||
char* buf = new char[r+1];
|
||||
char* buf = new char[r+1]();
|
||||
GLsizei len;
|
||||
memset(buf, 0, r+1);
|
||||
glGetShaderInfoLog(id, r, &len, buf);
|
||||
LOG_ERROR(RSX, "Failed to compile vertex shader: %s", buf);
|
||||
delete[] buf;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue