|
|
|
@ -135,7 +135,6 @@ auto Context::detectedDriver() -> DetectedDrivers { |
|
|
|
|
|
|
|
|
|
|
|
/* Apple has its own drivers */ |
|
|
|
/* Apple has its own drivers */ |
|
|
|
#ifndef CORRADE_TARGET_APPLE |
|
|
|
#ifndef CORRADE_TARGET_APPLE |
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
|
|
|
/* AMD binary desktop drivers */ |
|
|
|
/* AMD binary desktop drivers */ |
|
|
|
if(vendor.find("ATI Technologies Inc.") != std::string::npos) |
|
|
|
if(vendor.find("ATI Technologies Inc.") != std::string::npos) |
|
|
|
return *_detectedDrivers |= DetectedDriver::AMD; |
|
|
|
return *_detectedDrivers |= DetectedDriver::AMD; |
|
|
|
@ -151,7 +150,6 @@ auto Context::detectedDriver() -> DetectedDrivers { |
|
|
|
if(version.find("Mesa") != std::string::npos) |
|
|
|
if(version.find("Mesa") != std::string::npos) |
|
|
|
return *_detectedDrivers |= DetectedDriver::Mesa; |
|
|
|
return *_detectedDrivers |= DetectedDriver::Mesa; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_WEBGL |
|
|
|
#ifndef MAGNUM_TARGET_WEBGL |
|
|
|
if(vendor.find("NVIDIA Corporation") != std::string::npos) |
|
|
|
if(vendor.find("NVIDIA Corporation") != std::string::npos) |
|
|
|
|