Fix pixel picking from custom shader output in image viewer. Refs #1688

This commit is contained in:
baldurk
2020-01-17 16:13:26 +00:00
parent ec5e63a53f
commit c98500e657
+1 -1
View File
@@ -121,7 +121,7 @@ public:
y = (mipHeight - 1) - y;
}
m_Proxy->PickPixel(m_TextureID, x, y, sub, typeCast, pixel);
m_Proxy->PickPixel(texture, x, y, sub, typeCast, pixel);
}
bool GetMinMax(ResourceId texid, const Subresource &sub, CompType typeCast, float *minval,
float *maxval)