We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 135fb03 commit 02f6d99Copy full SHA for 02f6d99
Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp
@@ -668,8 +668,8 @@ void RenderDeviceGLImpl::InitAdapterInfo()
668
669
// Set graphics adapter properties
670
{
671
- std::basic_string<GLubyte> glstrVendor = glGetString(GL_VENDOR);
672
- std::string Vendor = StrToLower(std::string(glstrVendor.begin(), glstrVendor.end()));
+ const std::string glstrVendor = reinterpret_cast<const char*>(glGetString(GL_VENDOR));
+ const std::string Vendor = StrToLower(glstrVendor);
673
LOG_INFO_MESSAGE("GPU Vendor: ", Vendor);
674
675
for (size_t i = 0; i < _countof(m_AdapterInfo.Description) - 1 && i < glstrVendor.length(); ++i)
0 commit comments