Commit 564ba537 authored by pixhawk's avatar pixhawk

fixed live stream position

parent cb6e40f0
......@@ -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());
......
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