diff --git a/Texdiag/texdiag.cpp b/Texdiag/texdiag.cpp index ed5d7b6..518ce79 100644 --- a/Texdiag/texdiag.cpp +++ b/Texdiag/texdiag.cpp @@ -440,7 +440,7 @@ namespace if ((DXGI_FORMAT)pFormat->dwValue == Format) { wprintf(pFormat->pName); - break; + return; } }