Skip to content

Commit 542d5b0

Browse files
committed
[PR #1448] render: drop internal server reset support
PR: #1448
1 parent 93604d4 commit 542d5b0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

render/picture.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050

5151
DevPrivateKeyRec PictureScreenPrivateKeyRec;
5252
DevPrivateKeyRec PictureWindowPrivateKeyRec;
53-
static x_server_generation_t PictureGeneration;
5453
RESTYPE PictureType;
5554
RESTYPE PictFormatType;
5655
RESTYPE GlyphSetType;
@@ -602,7 +601,7 @@ PictureInit(ScreenPtr pScreen, PictFormatPtr formats, int nformats)
602601
int n;
603602
CARD32 type, a, r, g, b;
604603

605-
if (PictureGeneration != serverGeneration) {
604+
{
606605
PictureType = CreateNewResourceType(FreePicture, "PICTURE");
607606
if (!PictureType)
608607
return FALSE;
@@ -613,7 +612,6 @@ PictureInit(ScreenPtr pScreen, PictFormatPtr formats, int nformats)
613612
GlyphSetType = CreateNewResourceType(FreeGlyphSet, "GLYPHSET");
614613
if (!GlyphSetType)
615614
return FALSE;
616-
PictureGeneration = serverGeneration;
617615
}
618616
if (!dixRegisterPrivateKey(&PictureScreenPrivateKeyRec, PRIVATE_SCREEN, 0))
619617
return FALSE;

0 commit comments

Comments
 (0)