projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rework transition picon drawing
[goodguy/history.git]
/
cinelerra-5.1
/
guicast
/
vframe3d.C
diff --git
a/cinelerra-5.1/guicast/vframe3d.C
b/cinelerra-5.1/guicast/vframe3d.C
index aba006b8a11c43270ec1ab5ef53f16ae0b343105..649a3b1997343d9577a0b885ec95da2f153e7adf 100644
(file)
--- a/
cinelerra-5.1/guicast/vframe3d.C
+++ b/
cinelerra-5.1/guicast/vframe3d.C
@@
-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);