Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Monado
Monado
Commits
defdd972
Commit
defdd972
authored
Nov 05, 2019
by
Jakob Bornecrantz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
st/oxr: Fix recommended swapchain image height
parent
9eedb05f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/xrt/state_trackers/oxr/oxr_system.c
src/xrt/state_trackers/oxr/oxr_system.c
+2
-2
No files found.
src/xrt/state_trackers/oxr/oxr_system.c
View file @
defdd972
...
...
@@ -157,9 +157,9 @@ oxr_system_fill_in(struct oxr_logger *log,
uint32_t
w0
=
(
uint32_t
)(
head
->
hmd
->
views
[
0
].
display
.
w_pixels
*
scale
);
uint32_t
h0
=
(
uint32_t
)(
head
->
hmd
->
views
[
0
].
display
.
w
_pixels
*
scale
);
uint32_t
h0
=
(
uint32_t
)(
head
->
hmd
->
views
[
0
].
display
.
h
_pixels
*
scale
);
uint32_t
w1
=
(
uint32_t
)(
head
->
hmd
->
views
[
1
].
display
.
w_pixels
*
scale
);
uint32_t
h1
=
(
uint32_t
)(
head
->
hmd
->
views
[
1
].
display
.
w
_pixels
*
scale
);
uint32_t
h1
=
(
uint32_t
)(
head
->
hmd
->
views
[
1
].
display
.
h
_pixels
*
scale
);
sys
->
views
[
0
].
recommendedImageRectWidth
=
w0
;
sys
->
views
[
0
].
maxImageRectWidth
=
w0
;
...
...
Write
Preview
Markdown
is supported
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