mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
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 svn path=/trunk/; revision=30822
This commit is contained in:
parent
2ff760ccdf
commit
c4ca0c166c
|
@ -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);
|
||||
|
|
13
reactos/dll/directx/wine/wined3d/roshacks.txt
Normal file
13
reactos/dll/directx/wine/wined3d/roshacks.txt
Normal file
|
@ -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)
|
Loading…
Reference in a new issue