Skip to content

Commit 93604d4

Browse files
committed
[PR #1450] dri3: drop special support for internal server reset
PR: #1450
1 parent 38e41e5 commit 93604d4

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

dri3/dri3.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
static int dri3_request;
3232
DevPrivateKeyRec dri3_screen_private_key;
3333

34-
static x_server_generation_t dri3_screen_generation;
35-
3634
static void dri3_screen_close(CallbackListPtr *pcbl, ScreenPtr screen, void *unused)
3735
{
3836
dri3_screen_priv_ptr screen_priv = dri3_screen_priv(screen);
@@ -43,8 +41,6 @@ static void dri3_screen_close(CallbackListPtr *pcbl, ScreenPtr screen, void *unu
4341
Bool
4442
dri3_screen_init(ScreenPtr screen, const dri3_screen_info_rec *info)
4543
{
46-
dri3_screen_generation = serverGeneration;
47-
4844
if (!dixRegisterPrivateKey(&dri3_screen_private_key, PRIVATE_SCREEN, 0))
4945
return FALSE;
5046

@@ -81,9 +77,6 @@ dri3_extension_init(void)
8177
/* If no screens support DRI3, there's no point offering the
8278
* extension at all
8379
*/
84-
if (dri3_screen_generation != serverGeneration)
85-
return;
86-
8780
#ifdef XINERAMA
8881
if (!noPanoramiXExtension)
8982
return;

0 commit comments

Comments
 (0)