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
97dca37b
Commit
97dca37b
authored
Mar 30, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Direct3D: deactivate old drivers with insufficient capabilities.
Ref #6501 and #6469
parent
50a1fc8f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
modules/video_output/msw/direct3d.c
modules/video_output/msw/direct3d.c
+3
-1
No files found.
modules/video_output/msw/direct3d.c
View file @
97dca37b
...
...
@@ -510,7 +510,9 @@ static int Direct3DCreate(vout_display_t *vd)
}
/* TODO: need to test device capabilities and select the right render function */
if
(
!
(
sys
->
d3dcaps
.
DevCaps2
&
D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES
))
{
if
(
!
(
sys
->
d3dcaps
.
DevCaps2
&
D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES
)
||
!
(
sys
->
d3dcaps
.
TextureFilterCaps
&
(
D3DPTFILTERCAPS_MAGFLINEAR
))
||
!
(
sys
->
d3dcaps
.
TextureFilterCaps
&
(
D3DPTFILTERCAPS_MINFLINEAR
)))
{
msg_Err
(
vd
,
"Device does not support stretching from textures."
);
return
VLC_EGENERIC
;
}
...
...
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