Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
066d30b9
Commit
066d30b9
authored
Nov 16, 2016
by
Thomas Guillem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vout: opengl: remove duplicate vout_display_opengl_SetViewpoint
parent
2d32661b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
modules/video_output/opengl.c
modules/video_output/opengl.c
+0
-11
No files found.
modules/video_output/opengl.c
View file @
066d30b9
...
...
@@ -696,17 +696,6 @@ vout_display_opengl_t *vout_display_opengl_New(video_format_t *fmt,
#endif
}
if
(
vgl
->
fmt
.
projection_mode
==
PROJECTION_MODE_EQUIRECTANGULAR
||
vgl
->
fmt
.
projection_mode
==
PROJECTION_MODE_CUBEMAP_LAYOUT_STANDARD
)
{
vout_display_opengl_SetViewpoint
(
vgl
,
&
(
vlc_viewpoint_t
)
{
.
yaw
=
vgl
->
fmt
.
f_pose_yaw_degrees
,
.
pitch
=
vgl
->
fmt
.
f_pose_pitch_degrees
,
.
roll
=
vgl
->
fmt
.
f_pose_roll_degrees
,
.
fov
=
vgl
->
fmt
.
f_pose_fov_degrees
,
.
zoom
=
0
.
f
}
);
}
/* */
glDisable
(
GL_BLEND
);
glDisable
(
GL_DEPTH_TEST
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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