mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Explicitly note which modifications in pixel history are unavailable
This commit is contained in:
@@ -476,6 +476,9 @@ private:
|
||||
|
||||
QBrush backgroundBrush(const ModificationValue &val) const
|
||||
{
|
||||
if(!val.IsValid())
|
||||
return QBrush();
|
||||
|
||||
float rangesize = (m_Display.rangeMax - m_Display.rangeMin);
|
||||
|
||||
float r = val.col.floatValue[0];
|
||||
@@ -521,6 +524,9 @@ private:
|
||||
{
|
||||
QString s;
|
||||
|
||||
if(!val.IsValid())
|
||||
return tr("Unavailable");
|
||||
|
||||
int numComps = (int)(m_Tex->format.compCount);
|
||||
|
||||
if(forceComps > 0)
|
||||
|
||||
Reference in New Issue
Block a user