Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
blender
monado
Commits
e375523d
Commit
e375523d
authored
Jan 27, 2021
by
Jakob Bornecrantz
Browse files
c/main: Also print format when debugging swapchain creation
parent
b3592f11
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/xrt/compositor/main/comp_swapchain.c
View file @
e375523d
...
...
@@ -301,7 +301,9 @@ comp_swapchain_create(struct xrt_compositor *xc,
struct
comp_swapchain
*
sc
=
alloc_and_set_funcs
(
c
,
num_images
);
COMP_DEBUG
(
c
,
"CREATE %p %dx%d"
,
(
void
*
)
sc
,
info
->
width
,
info
->
height
);
COMP_DEBUG
(
c
,
"CREATE %p %dx%d %s"
,
(
void
*
)
sc
,
//
info
->
width
,
info
->
height
,
//
vk_color_format_string
(
info
->
format
));
// Use the image helper to allocate the images.
ret
=
vk_ic_allocate
(
&
c
->
vk
,
info
,
num_images
,
&
sc
->
vkic
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment