1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 06:53:52 +00:00

Clarified logging of layers and extensions

This commit is contained in:
Mads Buvik Sandvei 2020-11-01 17:49:46 +01:00
parent 360ba542a6
commit 3158a2510e

View file

@ -307,6 +307,8 @@ namespace MWVR
for (auto& extension : enumerateExtensions(nullptr))
mAvailableExtensions.insert(extension);
Log(Debug::Verbose) << "Using extensions:";
for (auto requiredExtension : requiredExtensions)
enableExtension(requiredExtension, false);
@ -422,6 +424,10 @@ namespace MWVR
enumerateExtensions(nullptr, true, 2);
Log(Debug::Verbose) << "Available Layers: ";
if (layers.size() == 0)
{
Log(Debug::Verbose) << " No layers available";
}
for (const XrApiLayerProperties& layer : layers) {
Log(Debug::Verbose) << " Name=" << layer.layerName << " SpecVersion=" << layer.layerVersion;
enumerateExtensions(layer.layerName, true, 4);