Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
564ba537
Commit
564ba537
authored
Jan 31, 2011
by
pixhawk
Browse files
fixed live stream position
parent
cb6e40f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ui/HUD.cc
View file @
564ba537
...
@@ -688,6 +688,8 @@ void HUD::paintHUD()
...
@@ -688,6 +688,8 @@ void HUD::paintHUD()
nextOfflineImage
=
""
;
nextOfflineImage
=
""
;
}
}
glRasterPos2i
(
0
,
0
);
glPixelZoom
(
xImageFactor
,
yImageFactor
);
glPixelZoom
(
xImageFactor
,
yImageFactor
);
// Resize to correct size and fill with image
// Resize to correct size and fill with image
glDrawPixels
(
glImage
.
width
(),
glImage
.
height
(),
GL_RGBA
,
GL_UNSIGNED_BYTE
,
glImage
.
bits
());
glDrawPixels
(
glImage
.
width
(),
glImage
.
height
(),
GL_RGBA
,
GL_UNSIGNED_BYTE
,
glImage
.
bits
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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