Zebediah Figura : wined3d: Trace the chunk pointer instead of the GL buffer ID in wined3d_device_gl_allocate_memory().

Alexandre Julliard julliard at winehq.org
Thu Jul 14 16:58:18 CDT 2022


Module: wine
Branch: master
Commit: 137102180788fddf33e7ccff429ffb4f9f78b121
URL:    https://gitlab.winehq.org/wine/wine/-/commit/137102180788fddf33e7ccff429ffb4f9f78b121

Author: Zebediah Figura <zfigura at codeweavers.com>
Date:   Sun Jul 10 15:26:15 2022 -0500

wined3d: Trace the chunk pointer instead of the GL buffer ID in wined3d_device_gl_allocate_memory().

---

 dlls/wined3d/device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index f264494cb5f..498e2075875 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -1080,7 +1080,7 @@ static struct wined3d_allocator_block *wined3d_device_gl_allocate_memory(struct
     *id = wined3d_allocator_chunk_gl(block->chunk)->gl_buffer;
 
     wined3d_device_gl_allocator_unlock(device_gl);
-    TRACE("Allocated offset %Iu from buffer object %u.\n", block->offset, *id);
+    TRACE("Allocated offset %#Ix from chunk %p.\n", block->offset, block->chunk);
     return block;
 }
 




More information about the wine-cvs mailing list