Skip to content

Commit

Permalink
Fix crash with image viewing on last change, using wrong array length
Browse files Browse the repository at this point in the history
  • Loading branch information
baldurk committed Feb 27, 2015
1 parent cca206a commit a440589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderdocui/Windows/TextureViewer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ public void OnEventSelected(UInt32 frameID, UInt32 eventID)
i++;
}

for(int rw=0; rw < RTs.Length; rw++)
for (int rw = 0; rw < RWs.Length; rw++)
{
var prev = rtPanel.Thumbnails[i];

Expand Down

0 comments on commit a440589

Please sign in to comment.