http://bugs.winehq.org/show_bug.cgi?id=19948
--- Comment #21 from Xavier Vachon xvachon@gmail.com 2009-10-23 16:55:48 --- With current git (1.1.32), the hack fails to compile.
patching file dlls/wined3d/context.c Hunk #1 succeeded at 1090 (offset 32 lines). Hunk #2 succeeded at 1239 (offset 32 lines). Hunk #3 FAILED at 1275. Hunk #4 succeeded at 1513 (offset 39 lines). 1 out of 4 hunks FAILED -- saving rejects to file dlls/wined3d/context.c.rej patching file dlls/wined3d/directx.c Hunk #1 succeeded at 217 (offset -9 lines). Hunk #2 succeeded at 238 (offset -9 lines). Hunk #3 succeeded at 255 (offset -9 lines). Hunk #4 succeeded at 322 (offset -9 lines). patching file dlls/wined3d/wined3d_private.h Hunk #1 succeeded at 1061 (offset -142 lines).
Contents of context.c.rej
*************** *** 1272,1277 **** } goto out; } ret->gl_info = &This->adapter->gl_info; ret->surface = (IWineD3DSurface *) target; ret->current_rt = (IWineD3DSurface *)target; --- 1275,1282 ---- } goto out; } + ret->prev_dc = prev_dc; + ret->prev_gl_ctx = prev_gl_ctx; ret->gl_info = &This->adapter->gl_info; ret->surface = (IWineD3DSurface *) target; ret->current_rt = (IWineD3DSurface *)target;