Module: wine
Branch: master
Commit: 033cade616dcd12a47d3f74babc7b47233559f24
URL: http://source.winehq.org/git/wine.git/?a=commit;h=033cade616dcd12a47d3f74ba…
Author: Rob Shearman <rob(a)codeweavers.com>
Date: Thu May 1 12:35:31 2008 +0100
widl: Consolidate writing of COM and dispatch interfaces into one function to remove duplicated code.
Split up the writing into start and end to eventually support the style
MIDL uses where it writes declared types, etc. between the start and end
of the interface.
Make internal header functions take the file pointer to print to.
Don't write interface IDs for non-object interfaces and always write
handle declarations even if the interface has no methods, like MIDL does.
---
tools/widl/header.c | 199 +++++++++++++++++++++++----------------------------
tools/widl/header.h | 1 -
tools/widl/parser.y | 4 +-
3 files changed, 93 insertions(+), 111 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=033cade616dcd12a47d3f…
Module: wine
Branch: master
Commit: 96c770d9bfa7561b82ad31f6dd6b176634d65a3f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=96c770d9bfa7561b82ad31f6d…
Author: Roderick Colenbrander <thunderbird2k(a)gmx.net>
Date: Thu May 1 13:23:17 2008 +0000
wined3d: In window mode (!pbuffer) we want both a window drawable format and double buffering.
---
dlls/wined3d/context.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index c91153c..dcce127 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -140,8 +140,8 @@ static int WineD3D_ChoosePixelFormat(IWineD3DDeviceImpl *This, HDC hdc, WINED3DF
if(cfgs->iPixelType != WGL_TYPE_RGBA_ARB)
continue;
- /* In all cases except when we are in pbuffer-mode we need a window drawable format with double buffering. */
- if(!pbuffer && !cfgs->windowDrawable && !cfgs->doubleBuffer)
+ /* In window mode (!pbuffer) we need a window drawable format and double buffering. */
+ if(!pbuffer && !(cfgs->windowDrawable && cfgs->doubleBuffer))
continue;
/* We like to have aux buffers in backbuffer mode */