blob: 7b0513d5d7bb6698c6c0b11169f4468c3a5e3242 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
https://bugs.gentoo.org/show_bug.cgi?id=159375
diff --git a/GL/glx/glxdri.c b/GL/glx/glxdri.c
index 4935b0a..9c3cac0 100644
--- a/GL/glx/glxdri.c
+++ b/GL/glx/glxdri.c
@@ -121,19 +121,13 @@ static const char CREATE_NEW_SCREEN_FUNC
static void
__glXDRIleaveServer(void)
{
- int i;
-
- for (i = 0; i < screenInfo.numScreens; i++)
- DRIDoBlockHandler(i, NULL, NULL, NULL);
+ DRIBlockHandler(NULL, NULL, NULL);
}
static void
__glXDRIenterServer(void)
{
- int i;
-
- for (i = 0; i < screenInfo.numScreens; i++)
- DRIDoWakeupHandler(i, NULL, 0, NULL);
+ DRIWakeupHandler(NULL, 0, NULL);
}
static void
|