mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-28 01:16:31 +00:00
Make errors much more useful in crash report logs..
This commit is contained in:
@@ -285,7 +285,7 @@ GLenum GetBaseFormat(GLenum internalFormat)
|
||||
break;
|
||||
}
|
||||
|
||||
RDCERR("Unhandled Base Format case!");
|
||||
RDCERR("Unhandled Base Format case %d!", internalFormat);
|
||||
|
||||
return eGL_NONE;
|
||||
}
|
||||
@@ -391,7 +391,7 @@ GLenum GetDataType(GLenum internalFormat)
|
||||
break;
|
||||
}
|
||||
|
||||
RDCERR("Unhandled Data Type case!");
|
||||
RDCERR("Unhandled Data Type case %d!", internalFormat);
|
||||
|
||||
return eGL_NONE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user