Matteo Bruni : wined3d: Fix doublebuffer mode trace.
Alexandre Julliard
julliard at winehq.org
Tue Sep 27 11:08:51 CDT 2016
Module: wine
Branch: master
Commit: b877d4177fc1a2cefaef59a31150c30d13f7690b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b877d4177fc1a2cefaef59a31150c30d13f7690b
Author: Matteo Bruni <mbruni at codeweavers.com>
Date: Tue Sep 27 00:04:14 2016 +0200
wined3d: Fix doublebuffer mode trace.
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/buffer.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/wined3d/buffer.c b/dlls/wined3d/buffer.c
index b927105..b50132a 100644
--- a/dlls/wined3d/buffer.c
+++ b/dlls/wined3d/buffer.c
@@ -1308,10 +1308,10 @@ static HRESULT buffer_init(struct wined3d_buffer *buffer, struct wined3d_device
if (device->create_parms.flags & WINED3DCREATE_SOFTWARE_VERTEXPROCESSING || pool == WINED3D_POOL_MANAGED)
{
- /* SWvp always returns the same pointer in buffer maps and retains data in DISCARD maps.
- * Keep a system memory copy of the buffer to provide the same behavior to the application.
- * Still use a VBO to support OpenGL 3 core contexts. */
- TRACE("Using doublebuffer mode because of software vertex processing.\n");
+ /* SWvp and managed buffers always return the same pointer in buffer
+ * maps and retain data in DISCARD maps. Keep a system memory copy of
+ * the buffer to provide the same behavior to the application. */
+ TRACE("Using doublebuffer mode.\n");
buffer->flags |= WINED3D_BUFFER_DOUBLEBUFFER;
}
More information about the wine-cvs
mailing list