Commit dac8a17
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 a0f97e7 commit dac8a17
1 file changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
| |||
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
118 | | - | |
119 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
120 | 124 | | |
121 | 125 | | |
122 | 126 | | |
| |||
0 commit comments