diff --git a/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp index d5e4387b8..89a245984 100644 --- a/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp @@ -668,8 +668,8 @@ void RenderDeviceGLImpl::InitAdapterInfo() // Set graphics adapter properties { - std::basic_string glstrVendor = glGetString(GL_VENDOR); - std::string Vendor = StrToLower(std::string(glstrVendor.begin(), glstrVendor.end())); + const std::string glstrVendor = reinterpret_cast(glGetString(GL_VENDOR)); + const std::string Vendor = StrToLower(glstrVendor); LOG_INFO_MESSAGE("GPU Vendor: ", Vendor); for (size_t i = 0; i < _countof(m_AdapterInfo.Description) - 1 && i < glstrVendor.length(); ++i)