wined3d: Don't reuse random GL contexts during initialization.
commitb5da7f49d332ed5d64be1256e14035af74a7efa2
authorHenri Verbeet <hverbeet@codeweavers.com>
Thu, 2 Jul 2009 08:01:37 +0000 (2 10:01 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 2 Jul 2009 10:00:50 +0000 (2 12:00 +0200)
tree78e90094b7ce570ff75fe735bb7db7334e3b4533
parent50e9ad66e2d6b170d47b0e79cc4e04fb219a1455
wined3d: Don't reuse random GL contexts during initialization.

Obviously there's no guarantee about the state of such a context. The specific
problem is that it might have GL_UNPACK_CLIENT_STORAGE_APPLE enabled, causing
some glTexImage2D() calls to fail, but it's a bad idea in general.
dlls/wined3d/directx.c