Commit c5b1170
committed
feat: use platform OpenGL if running on Wine
The Direct3D11 backend of ANGLE seems to have some trouble with the
stock Wine runtime where textures can fade into black like the big
class/ascendancy art in the middle of the tree at particular zoom levels
and also for error dialog boxes.
This can be mitigated by using the DXVK runtime with a Vulkan driver.
A cleaner more in-box workaround is to use the Desktop OpenGL backend of
ANGLE if we detect that the Windows version of SimpleGraphic runs on top
of Wine.1 parent 886159d commit c5b1170
1 file changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
101 | 115 | | |
102 | 116 | | |
103 | 117 | | |
| |||
107 | 121 | | |
108 | 122 | | |
109 | 123 | | |
110 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
111 | 128 | | |
112 | 129 | | |
113 | 130 | | |
| |||
0 commit comments