Roderick Colenbrander : wgl: Set pbuffer dimensions in HDC.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jul 26 06:37:00 CDT 2007
Module: wine
Branch: master
Commit: 1855eb25f3db8e1dfad0852c44e731cfe1c35811
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1855eb25f3db8e1dfad0852c44e731cfe1c35811
Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date: Wed Jul 25 23:18:50 2007 +0200
wgl: Set pbuffer dimensions in HDC.
---
dlls/winex11.drv/opengl.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index e2f09db..5a33913 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -2153,6 +2153,8 @@ HDC X11DRV_wglGetPbufferDCARB(X11DRV_PDEVICE *physDev, HPBUFFERARB hPbuffer)
* All formats in our pixelformat list are compatible with each other and the main drawable. */
physDev->current_pf = object->pixelFormat;
physDev->drawable = object->drawable;
+ SetRect( &physDev->drawable_rect, 0, 0, object->width, object->height );
+ physDev->dc_rect = physDev->drawable_rect;
TRACE("(%p)->(%p)\n", hPbuffer, physDev->hdc);
return physDev->hdc;
More information about the wine-cvs
mailing list