Module: wine
Branch: master
Commit: 7994f2c03b6a555a57b29cbfc7db0be34ab5f068
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7994f2c03b6a555a57b29cbfc…
Author: Huw Davies <huw(a)codeweavers.com>
Date: Mon Jan 9 14:20:22 2012 +0000
gdi32: Don't create the outline region twice.
---
dlls/gdi32/dibdrv/graphics.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/dlls/gdi32/dibdrv/graphics.c b/dlls/gdi32/dibdrv/graphics.c
index 766514f..166c577 100644
--- a/dlls/gdi32/dibdrv/graphics.c
+++ b/dlls/gdi32/dibdrv/graphics.c
@@ -271,11 +271,10 @@ static BOOL draw_arc( PHYSDEV dev, INT left, INT top, INT right, INT bottom,
!(interior = CreatePolygonRgn( points, count, WINDING )))
{
HeapFree( GetProcessHeap(), 0, points );
+ if (outline) DeleteObject( outline );
return FALSE;
}
- if (pdev->pen_uses_region) outline = CreateRectRgn( 0, 0, 0, 0 );
-
/* if not using a region, paint the interior first so the outline can overlap it */
if (interior && !outline)
{
@@ -1036,11 +1035,10 @@ BOOL dibdrv_RoundRect( PHYSDEV dev, INT left, INT top, INT right, INT bottom,
ellipse_width, ellipse_height )))
{
HeapFree( GetProcessHeap(), 0, points );
+ if (outline) DeleteObject( outline );
return FALSE;
}
- if (pdev->pen_uses_region) outline = CreateRectRgn( 0, 0, 0, 0 );
-
/* if not using a region, paint the interior first so the outline can overlap it */
if (interior && !outline)
{
Module: wine
Branch: master
Commit: 97b9fc9e396c417b933c3710540fe428f7ae57e2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=97b9fc9e396c417b933c37105…
Author: Stefan Leichter <Stefan.Leichter(a)camline.com>
Date: Sun Jan 8 14:49:44 2012 +0100
opengl32: Added export glDebugEntry to spec file.
---
dlls/opengl32/opengl32.spec | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/opengl32/opengl32.spec b/dlls/opengl32/opengl32.spec
index a83a142..b0853a9 100644
--- a/dlls/opengl32/opengl32.spec
+++ b/dlls/opengl32/opengl32.spec
@@ -56,6 +56,7 @@
@ stdcall glCopyTexSubImage1D( long long long long long long ) wine_glCopyTexSubImage1D
@ stdcall glCopyTexSubImage2D( long long long long long long long long ) wine_glCopyTexSubImage2D
@ stdcall glCullFace( long ) wine_glCullFace
+@ stub glDebugEntry
@ stdcall glDeleteLists( long long ) wine_glDeleteLists
@ stdcall glDeleteTextures( long ptr ) wine_glDeleteTextures
@ stdcall glDepthFunc( long ) wine_glDepthFunc