dbug thign

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-09-30 02:49:34 +03:00
parent 9b00e30b97
commit e072b1f6e0

View File

@@ -250,6 +250,8 @@ bool LunarWM_xr_init(LunarWM *this)
XR_VERSION_MINOR(reqs.maxApiVersionSupported),
XR_VERSION_PATCH(reqs.maxApiVersionSupported));
wlr_log(WLR_DEBUG, "Creating XR stuff..");
glEnable(GL_DEBUG_OUTPUT_KHR);
glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR);
@@ -278,6 +280,7 @@ bool LunarWM_xr_init(LunarWM *this)
}
// Swapchain time!
wlr_log(WLR_DEBUG, "Creating XR swapchains...");
XrViewConfigurationType *a_view_config_types;
uint32_t view_config_types_count = 0;
{
@@ -587,6 +590,7 @@ bool LunarWM_xr_init(LunarWM *this)
assert(this->xr.instance);
assert(this->xr.system_id);
wlr_log(WLR_DEBUG, "Fetching blend modes...");
XrEnvironmentBlendMode *a_environment_blend_modes;
uint32_t a_environment_blend_modes_count = 0;
{ // Get available blend modes
@@ -636,6 +640,7 @@ bool LunarWM_xr_init(LunarWM *this)
this->xr.environment_blend_mode = XR_ENVIRONMENT_BLEND_MODE_OPAQUE;
}
wlr_log(WLR_DEBUG, "Getting reference space...");
{ // Reference space
XrReferenceSpaceCreateInfo const ci = {
.type = XR_TYPE_REFERENCE_SPACE_CREATE_INFO,
@@ -714,6 +719,8 @@ bool LunarWM_xr_init(LunarWM *this)
free(a_environment_blend_modes);
vector_free(v_active_instance_extensions);
wlr_log(WLR_INFO, "OpenXR initialized.");
return true;
}