mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Make error message more explicit when proxy texture fails to create
This commit is contained in:
@@ -919,7 +919,11 @@ void ImageViewer::RefreshFile()
|
||||
if(m_TextureID == ResourceId())
|
||||
{
|
||||
SET_ERROR_RESULT(m_Error, ResultCode::APIInitFailed,
|
||||
"Couldn't create proxy texture for image file");
|
||||
"Couldn't create proxy texture for image file. This is typically caused by "
|
||||
"exceeding a graphics API limit for texture dimensions: %u x %u x %u "
|
||||
"[%u array, %u mips] @ %s",
|
||||
texDetails.width, texDetails.height, texDetails.depth, texDetails.arraysize,
|
||||
texDetails.mips, texDetails.format.Name().c_str());
|
||||
}
|
||||
|
||||
m_TexDetails.resourceId = m_TextureID;
|
||||
|
||||
Reference in New Issue
Block a user