Browse Source

fixed live stream position

QGC4.4
pixhawk 15 years ago
parent
commit
564ba537ba
  1. 2
      src/ui/HUD.cc

2
src/ui/HUD.cc

@ -688,6 +688,8 @@ void HUD::paintHUD() @@ -688,6 +688,8 @@ void HUD::paintHUD()
nextOfflineImage = "";
}
glRasterPos2i(0, 0);
glPixelZoom(xImageFactor, yImageFactor);
// Resize to correct size and fill with image
glDrawPixels(glImage.width(), glImage.height(), GL_RGBA, GL_UNSIGNED_BYTE, glImage.bits());

Loading…
Cancel
Save