-
- Downloads
wined3d: Add a quirk to rebind FBOs when one of their attached textures is updated.
Updating a texture while it is attached to the currently bound FBO is something GL implementations tend to get wrong. NVIDIA fails at glTexSubImage2D(), fglrx and Mesa with glTexImage2D(). I'm afraid to try what happens on OS X. Fortunately we never use glTexImage2D() while a texture is attached to an FBO, so we only need to care about glTexSubImage2D().
Showing
- dlls/wined3d/context.c 31 additions, 0 deletionsdlls/wined3d/context.c
- dlls/wined3d/directx.c 60 additions, 0 deletionsdlls/wined3d/directx.c
- dlls/wined3d/surface.c 11 additions, 0 deletionsdlls/wined3d/surface.c
- dlls/wined3d/wined3d_private.h 3 additions, 0 deletionsdlls/wined3d/wined3d_private.h
Loading
Please register or sign in to comment