Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
e9020e56
Commit
e9020e56
authored
Oct 10, 2006
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unbreak MacOS X (revert part of rev 16931)
parent
ee5438ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
modules/gui/macosx/voutgl.m
modules/gui/macosx/voutgl.m
+10
-10
No files found.
modules/gui/macosx/voutgl.m
View file @
e9020e56
...
...
@@ -113,7 +113,7 @@ int E_(OpenVideoGL) ( vlc_object_t * p_this )
vlc_mutex_init
(
p_vout
,
&
p_vout
->
p_sys
->
lock
);
var_Get
(
p_vout
->
p_
lib
vlc
,
"drawable"
,
&
value_drawable
);
var_Get
(
p_vout
->
p_vlc
,
"drawable"
,
&
value_drawable
);
if
(
value_drawable
.
i_int
!=
0
)
{
static
const
GLint
ATTRIBUTES
[]
=
{
...
...
@@ -455,25 +455,25 @@ static int aglInit( vout_thread_t * p_vout )
Rect
viewBounds
;
Rect
clipBounds
;
var_Get
(
p_vout
->
p_
lib
vlc
,
"drawable"
,
&
val
);
var_Get
(
p_vout
->
p_vlc
,
"drawable"
,
&
val
);
p_vout
->
p_sys
->
agl_drawable
=
(
AGLDrawable
)
val
.
i_int
;
aglSetDrawable
(
p_vout
->
p_sys
->
agl_ctx
,
p_vout
->
p_sys
->
agl_drawable
);
var_Get
(
p_vout
->
p_
lib
vlc
,
"drawable-view-top"
,
&
val
);
var_Get
(
p_vout
->
p_vlc
,
"drawable-view-top"
,
&
val
);
viewBounds
.
top
=
val
.
i_int
;
var_Get
(
p_vout
->
p_
lib
vlc
,
"drawable-view-left"
,
&
val
);
var_Get
(
p_vout
->
p_vlc
,
"drawable-view-left"
,
&
val
);
viewBounds
.
left
=
val
.
i_int
;
var_Get
(
p_vout
->
p_
lib
vlc
,
"drawable-view-bottom"
,
&
val
);
var_Get
(
p_vout
->
p_vlc
,
"drawable-view-bottom"
,
&
val
);
viewBounds
.
bottom
=
val
.
i_int
;
var_Get
(
p_vout
->
p_
lib
vlc
,
"drawable-view-right"
,
&
val
);
var_Get
(
p_vout
->
p_vlc
,
"drawable-view-right"
,
&
val
);
viewBounds
.
right
=
val
.
i_int
;
var_Get
(
p_vout
->
p_
lib
vlc
,
"drawable-clip-top"
,
&
val
);
var_Get
(
p_vout
->
p_vlc
,
"drawable-clip-top"
,
&
val
);
clipBounds
.
top
=
val
.
i_int
;
var_Get
(
p_vout
->
p_
lib
vlc
,
"drawable-clip-left"
,
&
val
);
var_Get
(
p_vout
->
p_vlc
,
"drawable-clip-left"
,
&
val
);
clipBounds
.
left
=
val
.
i_int
;
var_Get
(
p_vout
->
p_
lib
vlc
,
"drawable-clip-bottom"
,
&
val
);
var_Get
(
p_vout
->
p_vlc
,
"drawable-clip-bottom"
,
&
val
);
clipBounds
.
bottom
=
val
.
i_int
;
var_Get
(
p_vout
->
p_
lib
vlc
,
"drawable-clip-right"
,
&
val
);
var_Get
(
p_vout
->
p_vlc
,
"drawable-clip-right"
,
&
val
);
clipBounds
.
right
=
val
.
i_int
;
aglSetViewport
(
p_vout
,
viewBounds
,
clipBounds
);
...
...
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