Commit 75d53c9a authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

wined3d: Don't clear the GL context such that it can't be restored.

parent 80131739
......@@ -1016,9 +1016,6 @@ HRESULT CDECL wined3d_device_uninit_3d(struct wined3d_device *device)
if (!device->d3d_initialized)
return WINED3DERR_INVALIDCALL;
/* Force making the context current again, to verify it is still valid
* (workaround for broken drivers) */
context_set_current(NULL);
/* I don't think that the interface guarantees that the device is destroyed from the same thread
* it was created. Thus make sure a context is active for the glDelete* calls
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment