http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20f899e
)
wined3d: Allow offscreen depth/stencil clears again with FBOs.
author
Henri Verbeet
<hverbeet@codeweavers.com>
Fri, 16 Apr 2010 10:41:02 +0000
(12:41 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Fri, 16 Apr 2010 14:24:40 +0000
(16:24 +0200)
This fixes a regression introduced by
10f58c14bcdeba9f7ea82701b9d9ab8f2bb3414b
.
dlls/wined3d/device.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/wined3d/device.c
b/dlls/wined3d/device.c
index 2b4e526a1480fae26568ac373df73c5d967c077b..a45c57794d7929920af0126f5f20a45849a5ee04 100644
(file)
--- a/
dlls/wined3d/device.c
+++ b/
dlls/wined3d/device.c
@@
-4394,7
+4394,7
@@
HRESULT IWineD3DDeviceImpl_ClearSurface(IWineD3DDeviceImpl *This, IWineD3DSurfac
ENTER_GL();
context_bind_fbo(context, GL_FRAMEBUFFER, &context->dst_fbo);
context_attach_surface_fbo(context, GL_FRAMEBUFFER, 0, target);
- context_attach_depth_stencil_fbo(context, GL_FRAMEBUFFER,
NULL, FALS
E);
+ context_attach_depth_stencil_fbo(context, GL_FRAMEBUFFER,
depth_stencil, TRU
E);
LEAVE_GL();
}
}