rework histogram_bezier, init wm icon set_icon(gg), update de.po+msg/txt
[goodguy/history.git] / cinelerra-5.1 / guicast / vframe3d.C
index aba006b8a11c43270ec1ab5ef53f16ae0b343105..649a3b1997343d9577a0b885ec95da2f153e7adf 100644 (file)
@@ -266,7 +266,7 @@ void VFrame::init_screen(int w, int h)
        glMatrixMode(GL_MODELVIEW);
        glLoadIdentity();
 // Shift down and right so 0,0 is the top left corner
-       glTranslatef(-w/2, h/2, 0.0);
+       glTranslatef(-(w-1)/2.f, (h-1)/2.f, 0.0);
        glTranslatef(0.0, 0.0, -(far + near) / 2);
 
        glDisable(GL_DEPTH_TEST);