From ccab98920f366894dc05401b038bb27219d8d937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 13 Dec 2020 23:00:41 +0100 Subject: [PATCH] Vk: DeviceCreateInfo state is allocated always. Probably some leftover from the early days. --- src/Magnum/Vk/Device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Vk/Device.cpp b/src/Magnum/Vk/Device.cpp index 483f00642..8a9e91182 100644 --- a/src/Magnum/Vk/Device.cpp +++ b/src/Magnum/Vk/Device.cpp @@ -370,7 +370,7 @@ Device::Device(Instance& instance, const DeviceCreateInfo& info, DevicePropertie info._state->version : _properties->version(); /* Print all enabled extensions if we're not told to be quiet */ - if(!info._state || !info._state->quietLog) { + if(!info._state->quietLog) { Debug{} << "Device:" << _properties->name(); Debug{} << "Device version:" << version;