Roderick Colenbrander : wined3d: Re-add a comment which got lost.
Alexandre Julliard
julliard at winehq.org
Mon Sep 22 07:04:50 CDT 2008
Module: wine
Branch: master
Commit: c13b3f6179fb6ec2b0358d72765ff19752b3ddc8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c13b3f6179fb6ec2b0358d72765ff19752b3ddc8
Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date: Sun Sep 21 21:13:27 2008 +0000
wined3d: Re-add a comment which got lost.
---
dlls/wined3d/surface.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 004d329..bba2050 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -3459,6 +3459,12 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
/* Activate the destination context, set it up for blitting */
ActivateContext(myDevice, (IWineD3DSurface *) This, CTXUSAGE_BLIT);
+ /* The coordinates of the ddraw front buffer are always fullscreen ('screen coordinates',
+ * while OpenGL coordinates are window relative.
+ * Also beware of the origin difference(top left vs bottom left).
+ * Also beware that the front buffer's surface size is screen width x screen height,
+ * whereas the real gl drawable size is the size of the window.
+ */
if (dstSwapchain && (IWineD3DSurface *)This == dstSwapchain->frontBuffer) {
RECT windowsize;
POINT offset = {0,0};
More information about the wine-cvs
mailing list