Fix osx warning

This commit is contained in:
Ryan Huffman 2016-06-20 16:44:02 -07:00
parent 154ccb8932
commit cee897d6d3

View file

@ -775,7 +775,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer) :
{ "os_version", QSysInfo::productVersion() },
{ "gpu_name", gpuIdent->getName() },
{ "gpu_driver", gpuIdent->getDriver() },
{ "gpu_memory", static_cast<int64_t>(gpuIdent->getMemory()) },
{ "gpu_memory", QJsonValue(static_cast<int64_t>(gpuIdent->getMemory())) },
{ "gl_version_int", glVersionToInteger(glContextData.value("version").toString()) },
{ "gl_version", glContextData["version"] },
{ "gl_vender", glContextData["vendor"] },