Commit 5c42780c authored by pixhawk's avatar pixhawk

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

parents 81ccc01d 151a1d83
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment