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
1440fe07
Commit
1440fe07
authored
Mar 23, 2015
by
Steve Lhomme
Committed by
Jean-Baptiste Kempf
Mar 23, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
direct3d11: give enough room for the \0 in the string
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
84fe00e1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/video_output/msw/direct3d11.c
modules/video_output/msw/direct3d11.c
+2
-2
No files found.
modules/video_output/msw/direct3d11.c
View file @
1440fe07
...
...
@@ -284,8 +284,8 @@ static HINSTANCE Direct3D11LoadShaderLibrary(void)
HINSTANCE
instance
=
NULL
;
/* d3dcompiler_47 is the latest on windows 8.1 */
for
(
int
i
=
47
;
i
>
41
;
--
i
)
{
TCHAR
filename
[
1
8
];
_sntprintf
(
filename
,
1
8
,
TEXT
(
"D3DCOMPILER_%d.dll"
),
i
);
TCHAR
filename
[
1
9
];
_sntprintf
(
filename
,
1
9
,
TEXT
(
"D3DCOMPILER_%d.dll"
),
i
);
instance
=
LoadLibrary
(
filename
);
if
(
instance
)
break
;
}
...
...
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