diff --git a/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp index fccad698ac..872ff41d20 100644 --- a/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp +++ b/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp @@ -674,12 +674,14 @@ void RenderDeviceGLImpl::InitAdapterInfo() // Set graphics adapter properties { - const std::string glstrVendor = reinterpret_cast(glGetString(GL_VENDOR)); - const std::string Vendor = StrToLower(glstrVendor); + const std::string glstrVendor = reinterpret_cast(glGetString(GL_VENDOR)); + const std::string glstrRenderer = reinterpret_cast(glGetString(GL_RENDERER)); + const std::string Vendor = StrToLower(glstrVendor); LOG_INFO_MESSAGE("GPU Vendor: ", Vendor); + LOG_INFO_MESSAGE("GPU Renderer: ", glstrRenderer); - for (size_t i = 0; i < _countof(m_AdapterInfo.Description) - 1 && i < glstrVendor.length(); ++i) - m_AdapterInfo.Description[i] = glstrVendor[i]; + for (size_t i = 0; i < _countof(m_AdapterInfo.Description) - 1 && i < glstrRenderer.length(); ++i) + m_AdapterInfo.Description[i] = glstrRenderer[i]; m_AdapterInfo.Type = ADAPTER_TYPE_UNKNOWN; m_AdapterInfo.VendorId = 0;