<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Am 19.09.2009 12:29, schrieb Rico Schüller:
<blockquote cite="mid:4AB4B27E.6010807@web.de" type="cite">Hi,
<br>
<br>
this patch series fixes a bug which happens on windows with wined3d.
There a second call to wglMakeCurrent(NULL, NULL) fails, which will in
one case result in an early return in context_set_current(), which
doesn't set the the current context to NULL in such a case, but frees
the variable. So on the next call to context_set_current() (e.g. from
WineD3D_CreateFakeGLContext()) the memory in old->... could be some
other random memory and the app could crash.
<br>
<br>
try 3 improvements:
<br>
- try 2 had the wrong test patch (3/3), so this time with the correct
one
<br>
<br>
try 2 improvements:
<br>
- moved the check from winex11.drv to gdi32 (because we don't need any
X11 functionality)
<br>
- order of patches changed
<br>
<br>
The first patch fixes the behaviour in wined3d. The second one adds the
fix in gdi32 to change the behaviour to the one on xp. The third patch
adds a test case to opengl32/tests.
<br>
<br>
Cheers
<br>
Rico
<br>
<br>
---
<br>
dlls/wined3d/context.c | 2 +-
<br>
1 files changed, 1 insertions(+), 1 deletions(-)
<br>
<br>
<br>
<pre wrap="">
<hr size="4" width="90%">
</pre>
</blockquote>
I have to add some more tests. I'll resend a better version of the
patch set.<br>
<br>
Cheers<br>
Rico<br>
</body>
</html>