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
bea8d0a7
Commit
bea8d0a7
authored
Mar 03, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Mar 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the IWineD3DBuffer typedef.
parent
a27ee75e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
8 deletions
+2
-8
buffer.c
dlls/wined3d/buffer.c
+0
-2
device.c
dlls/wined3d/device.c
+0
-0
stateblock.c
dlls/wined3d/stateblock.c
+2
-3
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-3
No files found.
dlls/wined3d/buffer.c
View file @
bea8d0a7
...
...
@@ -1167,8 +1167,6 @@ WINED3DRESOURCETYPE CDECL wined3d_buffer_get_type(const struct wined3d_buffer *b
return
resource_get_type
(
&
buffer
->
resource
);
}
/* IWineD3DBuffer methods */
static
DWORD
buffer_sanitize_flags
(
struct
wined3d_buffer
*
buffer
,
DWORD
flags
)
{
/* Not all flags make sense together, but Windows never returns an error. Catch the
...
...
dlls/wined3d/device.c
View file @
bea8d0a7
This diff is collapsed.
Click to expand it.
dlls/wined3d/stateblock.c
View file @
bea8d0a7
...
...
@@ -984,8 +984,7 @@ HRESULT CDECL wined3d_stateblock_apply(const struct wined3d_stateblock *stateblo
if
(
stateblock
->
changed
.
indices
)
{
IWineD3DDevice_SetIndexBuffer
(
device
,
(
IWineD3DBuffer
*
)
stateblock
->
state
.
index_buffer
,
stateblock
->
state
.
index_format
);
IWineD3DDevice_SetIndexBuffer
(
device
,
stateblock
->
state
.
index_buffer
,
stateblock
->
state
.
index_format
);
IWineD3DDevice_SetBaseVertexIndex
(
device
,
stateblock
->
state
.
base_vertex_index
);
}
...
...
@@ -1014,7 +1013,7 @@ HRESULT CDECL wined3d_stateblock_apply(const struct wined3d_stateblock *stateblo
{
if
(
map
&
1
)
IWineD3DDevice_SetStreamSource
(
device
,
i
,
(
IWineD3DBuffer
*
)
stateblock
->
state
.
streams
[
i
].
buffer
,
stateblock
->
state
.
streams
[
i
].
buffer
,
0
,
stateblock
->
state
.
streams
[
i
].
stride
);
}
...
...
dlls/wined3d/wined3d_private.h
View file @
bea8d0a7
...
...
@@ -55,7 +55,6 @@
typedef
struct
IWineD3DSurfaceImpl
IWineD3DSurfaceImpl
;
typedef
struct
IWineD3DDeviceImpl
IWineD3DDeviceImpl
;
typedef
struct
IWineD3DSwapChainImpl
IWineD3DSwapChainImpl
;
typedef
struct
wined3d_buffer
IWineD3DBuffer
;
struct
IWineD3DBaseShaderImpl
;
struct
IWineD3DBaseTextureImpl
;
...
...
@@ -2514,8 +2513,6 @@ struct wined3d_query
HRESULT
query_init
(
struct
wined3d_query
*
query
,
IWineD3DDeviceImpl
*
device
,
WINED3DQUERYTYPE
type
)
DECLSPEC_HIDDEN
;
/* IWineD3DBuffer */
/* TODO: Add tests and support for FLOAT16_4 POSITIONT, D3DCOLOR position, other
* fixed function semantics as D3DCOLOR or FLOAT16 */
enum
wined3d_buffer_conversion_type
...
...
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