Don't force host GL driver on nvidia platforms anymore

Using the host GL driver is already the default so need to special case
this for nvidia.
This commit is contained in:
Simon Fels 2017-08-20 14:04:30 +02:00
commit 07b32235ea

View file

@ -133,13 +133,6 @@ anbox::cmds::SessionManager::SessionManager()
return EXIT_FAILURE;
}
// If we're running with the properietary nvidia driver we always
// use the host EGL driver as our translation doesn't work here.
if (fs::exists("/dev/nvidiactl")) {
INFO("Detected properietary nvidia driver; forcing use of the host EGL driver.");
gles_driver_ = graphics::GLRendererServer::Config::Driver::Host;
}
utils::ensure_paths({
SystemConfiguration::instance().socket_dir(),
SystemConfiguration::instance().input_device_dir(),