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
13c00a9d
Commit
13c00a9d
authored
Sep 26, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 27, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Use a union to store effect variable data instead of a void pointer.
parent
16360a4f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
62 deletions
+27
-62
d3d10_private.h
dlls/d3d10/d3d10_private.h
+6
-1
effect.c
dlls/d3d10/effect.c
+21
-61
No files found.
dlls/d3d10/d3d10_private.h
View file @
13c00a9d
...
...
@@ -151,7 +151,6 @@ struct d3d10_effect_variable
struct
d3d10_effect_variable
*
buffer
;
struct
d3d10_effect_type
*
type
;
void
*
data
;
char
*
name
;
char
*
semantic
;
DWORD
buffer_offset
;
...
...
@@ -162,6 +161,12 @@ struct d3d10_effect_variable
struct
d3d10_effect_variable
*
elements
;
struct
d3d10_effect_variable
*
members
;
struct
d3d10_effect_variable
*
annotations
;
union
{
struct
d3d10_effect_state_object_variable
state
;
struct
d3d10_effect_shader_variable
shader
;
}
u
;
};
/* ID3D10EffectPass */
...
...
dlls/d3d10/effect.c
View file @
13c00a9d
This diff is collapsed.
Click to expand it.
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