diff --git a/reactos/dll/directx/wine/wined3d/directx.c b/reactos/dll/directx/wine/wined3d/directx.c index f106321b445..493714d2d45 100644 --- a/reactos/dll/directx/wine/wined3d/directx.c +++ b/reactos/dll/directx/wine/wined3d/directx.c @@ -183,7 +183,8 @@ static void WineD3D_ReleaseFakeGLContext(void) { 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); diff --git a/reactos/dll/directx/wine/wined3d/roshacks.txt b/reactos/dll/directx/wine/wined3d/roshacks.txt new file mode 100644 index 00000000000..b4b4151d3c1 --- /dev/null +++ b/reactos/dll/directx/wine/wined3d/roshacks.txt @@ -0,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) \ No newline at end of file