From ce514d12ad02120fe488d724180feff29f07097f Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 12 Dec 2014 19:18:03 +0000 Subject: [PATCH] Fix last vertex not highlighting --- renderdoc/driver/d3d11/d3d11_debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoc/driver/d3d11/d3d11_debug.cpp b/renderdoc/driver/d3d11/d3d11_debug.cpp index 3a6539c93..d7cb03925 100644 --- a/renderdoc/driver/d3d11/d3d11_debug.cpp +++ b/renderdoc/driver/d3d11/d3d11_debug.cpp @@ -4471,7 +4471,7 @@ FloatVector D3D11DebugManager::InterpretVertex(byte *data, uint32_t vert, MeshDi fmt.compType = eCompType_UNorm; } - if(data + cfg.position.compCount*cfg.position.compByteWidth >= end) + if(data + cfg.position.compCount*cfg.position.compByteWidth > end) { valid = false; return ret;