x11drv: cleanup not longer used data on X11DRV_PDEVICE.
This commit is contained in:
parent
ca1c26b9d3
commit
7b5571cc8c
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue