hw/xwin: Remove GC privates, unused since native GDI engine removal

Unused since native GDI engine removal in commit 8465ee78

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
Jon Turney 2016-03-03 22:32:28 +00:00
parent 9d28ff2a9b
commit 519b98765f
2 changed files with 1 additions and 16 deletions

View File

@ -292,15 +292,6 @@ typedef Bool (*winReleasePrimarySurfaceProcPtr) (ScreenPtr);
typedef Bool (*winCreateScreenResourcesProc) (ScreenPtr);
/*
* GC (graphics context) privates
*/
typedef struct {
HDC hdc;
HDC hdcMem;
} winPrivGCRec, *winPrivGCPtr;
/*
* Pixmap privates
*/
@ -324,6 +315,7 @@ typedef struct {
PALETTEENTRY peColors[WIN_NUM_PALETTE_ENTRIES];
} winPrivCmapRec, *winPrivCmapPtr;
/*
* Windows Cursor handling.
*/

View File

@ -79,13 +79,6 @@ winAllocatePrivates(ScreenPtr pScreen)
/* Save the screen private pointer */
winSetScreenPriv(pScreen, pScreenPriv);
/* Reserve GC memory for our privates */
if (!dixRegisterPrivateKey
(g_iGCPrivateKey, PRIVATE_GC, sizeof(winPrivGCRec))) {
ErrorF("winAllocatePrivates - AllocateGCPrivate () failed\n");
return FALSE;
}
/* Reserve Pixmap memory for our privates */
if (!dixRegisterPrivateKey
(g_iPixmapPrivateKey, PRIVATE_PIXMAP, sizeof(winPrivPixmapRec))) {