x11drv: cleanup not longer used data on X11DRV_PDEVICE.

This commit is contained in:
Raphael Junqueira 2005-12-06 11:33:12 +01:00 committed by Alexandre Julliard
parent ca1c26b9d3
commit 7b5571cc8c
2 changed files with 0 additions and 4 deletions

View File

@ -164,8 +164,6 @@ BOOL X11DRV_DeleteDC( X11DRV_PDEVICE *physDev )
DeleteObject( physDev->region );
wine_tsx11_lock();
XFreeGC( gdi_display, physDev->gc );
while (physDev->used_visuals-- > 0)
XFree(physDev->visuals[physDev->used_visuals]);
wine_tsx11_unlock();
HeapFree( GetProcessHeap(), 0, physDev );
return TRUE;

View File

@ -140,8 +140,6 @@ typedef struct
int depth; /* bit depth of the DC */
int exposures; /* count of graphics exposures operations */
struct dce *dce; /* opaque pointer to DCE */
XVisualInfo *visuals[MAX_PIXELFORMATS];
int used_visuals;
int current_pf;
XRENDERINFO xrender;
} X11DRV_PDEVICE;