graphics() optimization windows

This commit is contained in:
Sebastian Hildebrandt
2019-06-16 20:49:26 +02:00
parent 4ec97a2b11
commit 7284b79669
4 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -694,7 +694,7 @@ function graphics(callback) {
vendor: instanceName.startsWith(deviceID) ? vendor : '',
model: instanceName.startsWith(deviceID) ? model : '',
main: primary.toLowerCase() === 'true',
builtin: false,
builtin: videoOutputTechnology === '2147483648',
connection: videoOutputTechnology && videoTypes[videoOutputTechnology] ? videoTypes[videoOutputTechnology] : '',
resolutionx: util.toInt(util.getValue(bounds, 'Width', '=')),
resolutiony: util.toInt(util.getValue(bounds, 'Height', '=')),