Commit 80c880d
committed
Faker: Improve err msg if XOpenDisplay !interposed
If a 3D application uses dlopen()/dlsym() to load X11 functions, then
libdlfaker.so must be preloaded. Otherwise VirtualGL's interposed
version of XOpenDisplay() will not be called, the X11 display's
excluded status will not be added as a display extension, and
faker::isDisplayExcluded() and faker::getDisplayCS() will fail. This
commit adds a more instructive error message if one of those methods
fails.
Refer to #2141 parent d2469f4 commit 80c880d
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| |||
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
95 | | - | |
96 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
| |||
0 commit comments