Browse Source

Merge branch 'master' of pixhawk.ethz.ch:qgroundcontrol into experimental

QGC4.4
pixhawk 14 years ago
parent
commit
5c42780c2b
  1. 2
      src/ui/HUD.cc

2
src/ui/HUD.cc

@ -692,6 +692,8 @@ void HUD::paintHUD() @@ -692,6 +692,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