Matteo Bruni : wined3d: Improve comment in wined3d_query_vk_issue().

Alexandre Julliard julliard at winehq.org
Wed Feb 9 16:03:51 CST 2022


Module: wine
Branch: master
Commit: 84dcf5279fc577856f82705aaaa62cdf92182049
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=84dcf5279fc577856f82705aaaa62cdf92182049

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Wed Feb  9 16:50:00 2022 +0100

wined3d: Improve comment in wined3d_query_vk_issue().

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wined3d/query.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/dlls/wined3d/query.c b/dlls/wined3d/query.c
index 864a3b82f0a..6c1ed1d6b5a 100644
--- a/dlls/wined3d/query.c
+++ b/dlls/wined3d/query.c
@@ -1681,10 +1681,11 @@ static BOOL wined3d_query_vk_issue(struct wined3d_query *query, uint32_t flags)
             return false;
         }
 
-        /* A query needs to either begin and end inside a single render pass,
-         * or begin and end outside of a render pass. Occlusion queries, if issued
-         * outside of a render pass, are queued up and only begun when a render
-         * pass is started, to avoid interrupting it when the query ends. */
+        /* A query needs to either begin and end inside a single render pass
+         * or begin and end outside of a render pass. Occlusion queries, if
+         * issued outside of a render pass, are queued up and only begun when
+         * a render pass is started, to avoid interrupting the render pass
+         * when the query ends. */
         if (context_vk->vk_render_pass)
         {
             wined3d_query_vk_begin(query_vk, context_vk, vk_command_buffer);




More information about the wine-cvs mailing list