mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 10:02:24 +02:00
just adding the correct include tobring th edefines
This commit is contained in:
parent
b132a42e89
commit
43a119cbbc
1 changed files with 3 additions and 2 deletions
|
@ -12,6 +12,7 @@
|
|||
|
||||
#include "Platform.h"
|
||||
#include "PlatformKeys.h"
|
||||
#include <qglobal.h>
|
||||
|
||||
using namespace platform;
|
||||
|
||||
|
@ -132,7 +133,7 @@ bool filterOnProcessors(const platform::json& computer, const platform::json& cp
|
|||
// YES on macos EXCEPT for macbookair with gpu intel iris or intel HD 6000
|
||||
bool Profiler::isRenderMethodDeferredCapable() {
|
||||
#if defined(Q_OS_MAC)
|
||||
auto computerInfo = platform::getComputer();
|
||||
auto computer = platform::getComputer();
|
||||
if (computer.count(keys::computer::model)) {
|
||||
const auto model = computer[keys::computer::model].get<std::string>();
|
||||
if (model.find("MacBookAir") != std::string::npos) {
|
||||
|
@ -154,4 +155,4 @@ bool Profiler::isRenderMethodDeferredCapable() {
|
|||
#else
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue