Skip to content

Commit a36b69a

Browse files
committed
quick fix driverID
1 parent 7b1f64b commit a36b69a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nbl/video/IOpenGL_PhysicalDeviceBase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ class IOpenGL_PhysicalDeviceBase : public IOpenGLPhysicalDeviceBase
379379
GetError();
380380
size_t VRAMSize = 0u;
381381
GLint tmp[4] = {0,0,0,0};
382-
switch (m_properties.deviceType)
382+
switch (m_properties.driverID)
383383
{
384384
case E_DRIVER_ID::EDI_AMD_PROPRIETARY:
385385
GetIntegerv(0x87FC,tmp); //TEXTURE_FREE_MEMORY_ATI, only textures

0 commit comments

Comments
 (0)