1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 12:23:51 +00:00
This commit is contained in:
Mads Buvik Sandvei 2020-07-15 23:25:22 +02:00
parent 47b7837d7c
commit f451bf2a35

View file

@ -77,7 +77,7 @@ namespace MWVR
result = xrCreateInstance(&createInfo, &mInstance);
}
mEnabledExtensions.insert(extensions.begin(), extensions.end() + createInfo.enabledExtensionCount);
mEnabledExtensions.insert(extensions.begin(), extensions.begin() + createInfo.enabledExtensionCount);
if (!xrExtensionIsEnabled(XR_KHR_OPENGL_ENABLE_EXTENSION_NAME))
throw std::runtime_error(std::string("Required OpenXR extension ") + XR_KHR_OPENGL_ENABLE_EXTENSION_NAME + " not supported");