Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ee09e8bf
Commit
ee09e8bf
authored
Mar 12, 2007
by
H. Verbeet
Committed by
Alexandre Julliard
Mar 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove FVF related fields from IWineD3DVertexDeclaration.
parent
b22ca33a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
13 deletions
+9
-13
device.c
dlls/wined3d/device.c
+0
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+9
-12
No files found.
dlls/wined3d/device.c
View file @
ee09e8bf
...
@@ -1548,7 +1548,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateVertexDeclaration(IWineD3DDevice*
...
@@ -1548,7 +1548,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateVertexDeclaration(IWineD3DDevice*
This
,
((
IWineD3DImpl
*
)
This
->
wineD3D
)
->
dxVersion
,
elements
,
element_count
,
ppVertexDeclaration
);
This
,
((
IWineD3DImpl
*
)
This
->
wineD3D
)
->
dxVersion
,
elements
,
element_count
,
ppVertexDeclaration
);
D3DCREATEOBJECTINSTANCE
(
object
,
VertexDeclaration
)
D3DCREATEOBJECTINSTANCE
(
object
,
VertexDeclaration
)
object
->
allFVF
=
0
;
hr
=
IWineD3DVertexDeclaration_SetDeclaration
((
IWineD3DVertexDeclaration
*
)
object
,
elements
,
element_count
);
hr
=
IWineD3DVertexDeclaration_SetDeclaration
((
IWineD3DVertexDeclaration
*
)
object
,
elements
,
element_count
);
...
...
dlls/wined3d/wined3d_private.h
View file @
ee09e8bf
...
@@ -1145,18 +1145,15 @@ BOOL CalculateTexRect(IWineD3DSurfaceImpl *This, RECT *Rect, float glTexCoord[4]
...
@@ -1145,18 +1145,15 @@ BOOL CalculateTexRect(IWineD3DSurfaceImpl *This, RECT *Rect, float glTexCoord[4]
* IWineD3DVertexDeclaration implementation structure
* IWineD3DVertexDeclaration implementation structure
*/
*/
typedef
struct
IWineD3DVertexDeclarationImpl
{
typedef
struct
IWineD3DVertexDeclarationImpl
{
/* IUnknown Information */
/* IUnknown Information */
const
IWineD3DVertexDeclarationVtbl
*
lpVtbl
;
const
IWineD3DVertexDeclarationVtbl
*
lpVtbl
;
LONG
ref
;
/* Note: Ref counting not required */
LONG
ref
;
IUnknown
*
parent
;
IUnknown
*
parent
;
/** precomputed fvf if simple declaration */
IWineD3DDeviceImpl
*
wineD3DDevice
;
IWineD3DDeviceImpl
*
wineD3DDevice
;
DWORD
fvf
[
MAX_STREAMS
];
WINED3DVERTEXELEMENT
*
pDeclarationWine
;
DWORD
allFVF
;
UINT
declarationWNumElements
;
WINED3DVERTEXELEMENT
*
pDeclarationWine
;
UINT
declarationWNumElements
;
}
IWineD3DVertexDeclarationImpl
;
}
IWineD3DVertexDeclarationImpl
;
extern
const
IWineD3DVertexDeclarationVtbl
IWineD3DVertexDeclaration_Vtbl
;
extern
const
IWineD3DVertexDeclarationVtbl
IWineD3DVertexDeclaration_Vtbl
;
...
...
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