[1/3] wined3d: Fix an error message.

Matteo Bruni matteo.mystral at gmail.com
Thu Mar 31 16:21:14 CDT 2011


This series builds on the winex11.drv patches from the last two days
and reworks GL context validation in wined3d. It is meant to fix some
bugs (such as http://bugs.winehq.org/show_bug.cgi?id=24188,
http://bugs.winehq.org/show_bug.cgi?id=24650 or
http://bugs.winehq.org/show_bug.cgi?id=23643) caused by the current
validation scheme.
-------------- next part --------------
From de65e17e8d722e90041f674b20305aceebf1f33b Mon Sep 17 00:00:00 2001
From: Matteo Bruni <mbruni at codeweavers.com>
Date: Fri, 18 Mar 2011 18:40:37 +0100
Subject: wined3d: Fix an error message.

---
 dlls/wined3d/context.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index 3b0a9b6..8413c42 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -2304,7 +2304,7 @@ struct wined3d_context *context_acquire(IWineD3DDeviceImpl *device, IWineD3DSurf
         {
             DWORD err = GetLastError();
             ERR("Failed to make GL context %p current on device context %p, last error %#x.\n",
-                    context->hdc, context->glCtx, err);
+                    context->glCtx, context->hdc, err);
         }
     }
 
-- 
1.7.3.4


More information about the wine-patches mailing list