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
d8ab9fd6
Commit
d8ab9fd6
authored
May 31, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32: fix a small warning
parent
1032cea7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
modules/video_output/msw/direct2d.c
modules/video_output/msw/direct2d.c
+1
-1
modules/video_output/msw/glwin32.c
modules/video_output/msw/glwin32.c
+1
-0
No files found.
modules/video_output/msw/direct2d.c
View file @
d8ab9fd6
...
@@ -254,7 +254,7 @@ static void Display(vout_display_t *vd, picture_t *picture, subpicture_t *subpic
...
@@ -254,7 +254,7 @@ static void Display(vout_display_t *vd, picture_t *picture, subpicture_t *subpic
HRESULT
hr
=
ID2D1HwndRenderTarget_EndDraw
(
sys
->
d2_render_target
,
HRESULT
hr
=
ID2D1HwndRenderTarget_EndDraw
(
sys
->
d2_render_target
,
NULL
,
NULL
,
NULL
);
NULL
);
if
(
hr
==
D2DERR_RECREATE_TARGET
)
{
if
(
hr
==
D2DERR_RECREATE_TARGET
)
{
D2D_DestroyRenderTarget
(
vd
);
D2D_DestroyRenderTarget
(
vd
);
D2D_CreateRenderTarget
(
vd
);
D2D_CreateRenderTarget
(
vd
);
}
}
...
...
modules/video_output/msw/glwin32.c
View file @
d8ab9fd6
...
@@ -231,6 +231,7 @@ static void Swap(vlc_gl_t *gl)
...
@@ -231,6 +231,7 @@ static void Swap(vlc_gl_t *gl)
static
void
*
OurGetProcAddress
(
vlc_gl_t
*
gl
,
const
char
*
name
)
static
void
*
OurGetProcAddress
(
vlc_gl_t
*
gl
,
const
char
*
name
)
{
{
VLC_UNUSED
(
gl
);
return
wglGetProcAddress
(
name
);
return
wglGetProcAddress
(
name
);
}
}
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