mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Fix signed compile warning
This commit is contained in:
@@ -2264,10 +2264,9 @@ void D3D12PipelineStateViewer::resource_itemActivated(RDTreeWidgetItem *item, in
|
||||
|
||||
for(int i = 0; i < bindArray.count(); i++)
|
||||
{
|
||||
uint32_t bind = (uint32_t)bindArray[i].bind;
|
||||
if(bindArray[i].bindset == view.space &&
|
||||
(bindArray[i].bind == (int)view.res.bind ||
|
||||
(bindArray[i].bind <= (int)view.res.bind &&
|
||||
bindArray[i].bind + bindArray[i].arraySize > (int)view.res.bind)))
|
||||
(bind == view.res.bind || (bind <= view.res.bind && bind + arraySize > view.res.bind)))
|
||||
{
|
||||
shaderRes = &resArray[i];
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user