Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.

Commit 77adbcb

Browse files
g-217swmitra
authored andcommitted
Disable GPU for Ubuntu18.04 (#648)
* Disable GPU for Ubuntu18.04 * Incorporating suggetsed changes
1 parent 294a7a7 commit 77adbcb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

appshell/cefclient_gtk.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,5 +233,7 @@ int RunMain(int argc, char* argv[]) {
233233

234234
// Program entry point function.
235235
int main(int argc, char* argv[]) {
236+
char extra_option[] ="--disable-gpu";
237+
argv[argc]=extra_option; ++argc;
236238
return client::RunMain(argc, argv);
237239
}

0 commit comments

Comments
 (0)