Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
fether
Commits
67e282d8
Commit
67e282d8
authored
Jun 29, 2018
by
Amaury Martiny
Browse files
Disable GPU on linux (fix
#85
)
parent
2a328480
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/fether-electron/src/main/index.js
View file @
67e282d8
...
...
@@ -26,6 +26,12 @@ const { app, BrowserWindow, ipcMain, session } = electron;
let
mainWindow
;
const
pino
=
Pino
();
// Disable gpu acceleration on linux
// https://github.com/parity-js/fether/issues/85
if
(
!
[
'
darwin
'
,
'
win32
'
].
includes
(
process
.
platform
))
{
app
.
disableHardwareAcceleration
();
}
function
createWindow
()
{
pino
.
info
(
`Starting
${
productName
}
...`
);
mainWindow
=
new
BrowserWindow
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment