From bae2d30816fedbb03acc914da157246fc6100563 Mon Sep 17 00:00:00 2001 From: Chase Payne Date: Fri, 23 Aug 2024 09:11:18 -0500 Subject: [PATCH] Update tools/ddprobe.cpp Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> --- tools/ddprobe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ddprobe.cpp b/tools/ddprobe.cpp index b05f599a..5626e401 100644 --- a/tools/ddprobe.cpp +++ b/tools/ddprobe.cpp @@ -82,7 +82,7 @@ syncThreadDesktop() { * @param mappedResource A reference to a `D3D11_MAPPED_SUBRESOURCE` structure containing the mapped subresource data of the frame to be analyzed. * @param frameDesc A reference to a `D3D11_TEXTURE2D_DESC` structure describing the texture properties, including width and height. * @param darknessThreshold A floating-point value representing the threshold above which a pixel's RGB values are considered dark. The value ranges from 0.0f to 1.0f, with a default value of 0.1f. - * @return bool Returns `true` if the frame contains any non-dark pixels, indicating it is valid; otherwise, returns `false`. + * @return Returns `true` if the frame contains any non-dark pixels, indicating it is valid; otherwise, returns `false`. */ bool is_valid_frame(const D3D11_MAPPED_SUBRESOURCE &mappedResource, const D3D11_TEXTURE2D_DESC &frameDesc, float darknessThreshold = 0.1f) {