Skip to content

Commit

Permalink
added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cg-cnu committed Sep 20, 2017
1 parent 40fefd5 commit 26becdd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webgl/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ const {app, BrowserWindow} = require('electron');

let mainWindow;

// enable ignore-gpu-blacklist option
// Chrome by default black lists certain GPUs because of bugs.
// if your are not able to view webgl try enabling --ignore-gpu-blacklist option
// But, this will make electron/chromium less stable.
app.commandLine.appendSwitch('--ignore-gpu-blacklist');

// Quit when all windows are closed.
Expand Down

0 comments on commit 26becdd

Please sign in to comment.