mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
Clamp the view-size specified number of rows to the max num rows.
This commit is contained in:
@@ -891,6 +891,9 @@ namespace renderdocui.Windows
|
||||
if (rows * input.Strides[0] < size)
|
||||
rows++;
|
||||
|
||||
if (rows > DefaultMaxRows)
|
||||
rows = DefaultMaxRows;
|
||||
|
||||
rowRange.Text = rows.ToString();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user