summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2019-12-28 05:13:26 +0000
committerassiduous <assiduous@diligentgraphics.com>2019-12-28 05:13:26 +0000
commit9ead3562fb06c14098b7885cc7c736ea4bbc292c (patch)
treef1518a3383204ea2d72f6cb3e372dacdbff553a2 /Graphics/GraphicsEngineOpenGL
parentFixed minor issue with draw command test (diff)
downloadDiligentCore-9ead3562fb06c14098b7885cc7c736ea4bbc292c.tar.gz
DiligentCore-9ead3562fb06c14098b7885cc7c736ea4bbc292c.zip
Added AdapterType member to DeviceCaps struct (API Version 240048)
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp
index 02dacc62..30c66bca 100644
--- a/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp
+++ b/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp
@@ -103,6 +103,8 @@ RenderDeviceGLImpl::RenderDeviceGLImpl(IReferenceCounters* pRefCounters,
m_GPUInfo.Vendor = GPU_VENDOR::ATI;
else if (Vendor.find("qualcomm"))
m_GPUInfo.Vendor = GPU_VENDOR::QUALCOMM;
+
+ m_DeviceCaps.AdaterType = ADAPTER_TYPE_HARDWARE;
}
RenderDeviceGLImpl::~RenderDeviceGLImpl()