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
3e5d911b
Commit
3e5d911b
authored
Jun 17, 2015
by
Steve Lhomme
Committed by
Jean-Baptiste Kempf
Jun 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
direct3d11: use the D3D11 types as D3D9 is not available on some platforms
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
d7b94684
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
modules/video_output/msw/direct3d11.c
modules/video_output/msw/direct3d11.c
+6
-3
No files found.
modules/video_output/msw/direct3d11.c
View file @
3e5d911b
...
...
@@ -32,7 +32,7 @@
#define COBJMACROS
#define INITGUID
#include <d3d11.h>
#include <d3d
x9math
.h>
#include <d3d
types
.h>
/* avoided until we can pass ISwapchainPanel without c++/cx mode
# include <windows.ui.xaml.media.dxinterop.h> */
...
...
@@ -120,8 +120,11 @@ typedef struct
/* matches the D3D11_INPUT_ELEMENT_DESC we setup */
typedef
struct
d3d_vertex_t
{
D3DXVECTOR3
position
;
D3DXVECTOR2
texture
;
D3DVECTOR
position
;
struct
{
D3DVALUE
x
;
D3DVALUE
y
;
}
texture
;
FLOAT
opacity
;
}
d3d_vertex_t
;
...
...
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