Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8560f36c
Commit
8560f36c
authored
May 24, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
May 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Get rid of the D3DDECLTYPE_INFO typedef.
parent
d521e6c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
vertexdeclaration.c
dlls/d3d9/vertexdeclaration.c
+5
-4
No files found.
dlls/d3d9/vertexdeclaration.c
View file @
8560f36c
...
...
@@ -24,14 +24,15 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d9
);
typedef
struct
_D3DDECLTYPE_INFO
{
static
const
struct
{
D3DDECLTYPE
d3dType
;
enum
wined3d_format_id
format
;
int
size
;
int
typesize
;
}
D3DDECLTYPE_INFO
;
static
D3DDECLTYPE_INFO
const
d3d_dtype_lookup
[
D3DDECLTYPE_UNUSED
]
=
{
}
d3d_dtype_lookup
[]
=
{
{
D3DDECLTYPE_FLOAT1
,
WINED3DFMT_R32_FLOAT
,
1
,
sizeof
(
float
)},
{
D3DDECLTYPE_FLOAT2
,
WINED3DFMT_R32G32_FLOAT
,
2
,
sizeof
(
float
)},
{
D3DDECLTYPE_FLOAT3
,
WINED3DFMT_R32G32B32_FLOAT
,
3
,
sizeof
(
float
)},
...
...
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