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:
parent
360ba542a6
commit
3158a2510e
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue