Author: greatlrd Date: Tue Nov 27 22:49:49 2007 New Revision: 30822
URL: http://svn.reactos.org/svn/reactos?rev=30822&view=rev Log: adding the last hack we need for wined3d. This bug is wine, not our or windows fault And I also wrote down all three change we have done in wined3d. -------------------------------------------------------------------------------------- Thx Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth) for the last hack
Added: trunk/reactos/dll/directx/wine/wined3d/roshacks.txt (with props) Modified: trunk/reactos/dll/directx/wine/wined3d/directx.c
Modified: trunk/reactos/dll/directx/wine/wined3d/directx.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/wine/wined3d/di... ============================================================================== --- trunk/reactos/dll/directx/wine/wined3d/directx.c (original) +++ trunk/reactos/dll/directx/wine/wined3d/directx.c Tue Nov 27 22:49:49 2007 @@ -183,7 +183,8 @@ if(!wined3d_fake_gl_context_foreign && glCtx) { TRACE_(d3d_caps)("destroying fake GL context\n"); pwglMakeCurrent(NULL, NULL); - pwglDeleteContext(glCtx); + //ros hack, this line does destire the real icd interface in windows and reactos + // pwglDeleteContext(glCtx); } if(wined3d_fake_gl_context_hdc) ReleaseDC(wined3d_fake_gl_context_hwnd, wined3d_fake_gl_context_hdc);
Added: trunk/reactos/dll/directx/wine/wined3d/roshacks.txt URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/wine/wined3d/ro... ============================================================================== --- trunk/reactos/dll/directx/wine/wined3d/roshacks.txt (added) +++ trunk/reactos/dll/directx/wine/wined3d/roshacks.txt Tue Nov 27 22:49:49 2007 @@ -1,0 +1,13 @@ +Note +directx.c +----------- +gdi32.dll to opengl32.dll +comment out line 186 as well in function +WineD3D_ReleaseFakeGLContext +row pwglDeleteContext(glCtx); + + + +wined3d_private.h +------------------ +add #define ceilf(x) (float)ceil((double)x)
Propchange: trunk/reactos/dll/directx/wine/wined3d/roshacks.txt ------------------------------------------------------------------------------ svn:eol-style = native