[Bug 29630] OpenGL: Rendering to child window fails with fglrx

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jan 19 12:13:52 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=29630

--- Comment #5 from Lauri Koponen <lauri.koponen at iki.fi> 2012-01-19 12:13:52 CST ---
Sorry, the ends of long lines went missing. Here's the change again:

diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index e6affcb..3937b20 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -591,7 +591,7 @@ static BOOL set_win_format( HWND hwnd, XID fbconfig_id )
         XInstallColormap(gdi_display, attrib.colormap);

         if(data->gl_drawable) XDestroyWindow(gdi_display, data->gl_drawable);
-        data->gl_drawable = XCreateWindow(gdi_display, dummy_parent, -w, 0, w,
h, 0,
+        data->gl_drawable = XCreateWindow(gdi_display, dummy_parent, 0, 0, w,
h, 0,
                                           vis->depth, InputOutput,
vis->visual,
                                           CWColormap | CWOverrideRedirect,
                                           &attrib);

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list