Skip to content

Commit 44620ed

Browse files
committed
glx: drop internal server reset support
Signed-off-by: Enrico Weigelt, metux IT consult <[email protected]>
1 parent 845642e commit 44620ed

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

glx/glxext.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
/*
5353
** X resources.
5454
*/
55-
static x_server_generation_t glxGeneration;
5655
RESTYPE __glXContextRes;
5756
RESTYPE __glXDrawableRes;
5857

@@ -460,7 +459,6 @@ xorgGlxGetDispatchAddress(CARD8 minorOpcode, CARD32 vendorCode)
460459
static Bool
461460
xorgGlxServerPreInit(const ExtensionEntry *extEntry)
462461
{
463-
if (glxGeneration != serverGeneration) {
464462
/* Mesa requires at least one True/DirectColor visual */
465463
if (!checkScreenVisuals())
466464
return FALSE;
@@ -486,10 +484,7 @@ xorgGlxServerPreInit(const ExtensionEntry *extEntry)
486484
__glXregisterPresentCompleteNotify();
487485
#endif
488486

489-
glxGeneration = serverGeneration;
490-
}
491-
492-
return glxGeneration == serverGeneration;
487+
return TRUE;
493488
}
494489

495490
static void

0 commit comments

Comments
 (0)