[7/9] DDraw: Add a comment about IDirect3DVertexBuffer thread safety

Stefan Dösinger stefandoesinger at gmx.at
Sat Aug 19 16:53:12 CDT 2006


-------------- next part --------------
From nobody Mon Sep 17 00:00:00 2001
From: Stefan Dösinger <stefan at codeweavers.com>
Date: Sat Aug 19 09:35:43 2006 +0200
Subject: [PATCH] DDraw: Add a comment about IDirect3DVertexBufferImpl thread safety

---

 dlls/ddraw/direct3d.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

23b3e09fedc688ffc370dc8616b9d79b4fd20100
diff --git a/dlls/ddraw/direct3d.c b/dlls/ddraw/direct3d.c
index c72b50a..6ef8e39 100644
--- a/dlls/ddraw/direct3d.c
+++ b/dlls/ddraw/direct3d.c
@@ -1013,6 +1013,7 @@ IDirect3DImpl_7_CreateVertexBuffer(IDire
     ICOM_INIT_INTERFACE(object, IDirect3DVertexBuffer, IDirect3DVertexBuffer1_Vtbl);
 
     object->Caps = Desc->dwCaps;
+    /* No need to protect vertex buffers, there are no changed members in this object */
 
     hr = IWineD3DDevice_CreateVertexBuffer(This->wineD3DDevice,
                                            get_flexible_vertex_size(Desc->dwFVF) * Desc->dwNumVertices,
-- 
1.2.4



More information about the wine-patches mailing list