c++11 fixups. Initialise to zero where possible. note: cellAudio looks quite messed up.

This commit is contained in:
Sacha 2014-07-14 17:26:31 +10:00
parent 582825934c
commit 6bd044f9be
5 changed files with 39 additions and 65 deletions

View file

@ -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;