wined3d: Track FBOs per-context.
commit05931f4a5a2838ba6c867b29c7172a8d33b0a8b4
authorH. Verbeet <hverbeet@gmail.com>
Thu, 21 Aug 2008 16:34:55 +0000 (21 18:34 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 22 Aug 2008 08:38:59 +0000 (22 10:38 +0200)
tree813948ac4809b353fb39f71005e7e33a3e92e323
parent2f99bcdde2e3f8dd9e763bff650c3cc28055f401
wined3d: Track FBOs per-context.

Although sharing FBOs across contexts is allowed by EXT_framebuffer_object
(issue 76), it causes issues with nVidia drivers. Considering the GL 3 spec
explicitly disallows sharing of FBOs accross contexts (Appendix D), this
patch is probably the right thing to do.
dlls/wined3d/context.c
dlls/wined3d/device.c
dlls/wined3d/surface.c
dlls/wined3d/wined3d_private.h