Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
bdae676a
Commit
bdae676a
authored
Feb 09, 2004
by
Eric Petit
Browse files
macosx/vout.m : oops, fixed broken ratio from my last commit
parent
774a42d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/macosx/vout.m
View file @
bdae676a
...
...
@@ -2,7 +2,7 @@
* vout.m: MacOS X video output module
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: vout.m,v 1.7
8
2004/02/09 1
3:28:32
titer Exp $
* $Id: vout.m,v 1.7
9
2004/02/09 1
4:02:25
titer Exp $
*
* Authors: Colin Delacroix <colin@zoy.org>
* Florian G. Pflug <fgp@phlo.org>
...
...
@@ -1427,17 +1427,17 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic )
glBegin
(
GL_QUADS
);
/* Top left */
glTexCoord2f
(
0
.
0
,
0
.
0
);
glVertex
3
f
(
-
1
.
0
,
1
.
0
,
1
.
0
);
glVertex
2
f
(
-
f_x
,
f_y
);
/* Bottom left */
glTexCoord2f
(
0
.
0
,
(
float
)
p_vout
->
output
.
i_height
);
glVertex
3
f
(
-
1
.
0
,
-
1
.
0
,
1
.
0
);
glVertex
2
f
(
-
f_x
,
-
f_y
);
/* Bottom right */
glTexCoord2f
(
(
float
)
p_vout
->
output
.
i_width
,
(
float
)
p_vout
->
output
.
i_height
);
glVertex
3
f
(
1
.
0
,
-
1
.
0
,
1
.
0
);
glVertex
2
f
(
f_x
,
-
f_y
);
/* Top right */
glTexCoord2f
(
(
float
)
p_vout
->
output
.
i_width
,
0
.
0
);
glVertex
3
f
(
1
.
0
,
1
.
0
,
1
.
0
);
glVertex
2
f
(
f_x
,
f_y
);
glEnd
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment