This commit is contained in:
parent
a09162d916
commit
bb87c95da2
@ -2240,6 +2240,7 @@ void Engine::getAvailableGPU() {
|
||||
// Create a minimal instance
|
||||
auto instRet = builder.set_app_name("Engine")
|
||||
.request_validation_layers(false)
|
||||
.set_headless()
|
||||
.require_api_version(1, 3, 0)
|
||||
.build();
|
||||
|
||||
@ -2277,6 +2278,8 @@ void Engine::getAvailableGPU() {
|
||||
);
|
||||
_logger.logAll(ENGINE, EINFO, "GPU {}:\n{}", i, deviceProperties.properties.deviceName);
|
||||
}
|
||||
|
||||
vkbInst.destroy();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user