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
a7120866
Commit
a7120866
authored
Jul 05, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove the unused currentPatch field from struct wined3d_device.
parent
0df3db37
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
device.c
dlls/wined3d/device.c
+0
-2
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-1
No files found.
dlls/wined3d/device.c
View file @
a7120866
...
...
@@ -4943,12 +4943,10 @@ HRESULT CDECL wined3d_device_draw_rect_patch(struct wined3d_device *device, UINT
}
}
device
->
currentPatch
=
patch
;
old_primitive_type
=
device
->
stateBlock
->
state
.
gl_primitive_type
;
device
->
stateBlock
->
state
.
gl_primitive_type
=
GL_TRIANGLES
;
wined3d_device_draw_primitive_strided
(
device
,
patch
->
numSegs
[
0
]
*
patch
->
numSegs
[
1
]
*
2
*
3
,
&
patch
->
strided
);
device
->
stateBlock
->
state
.
gl_primitive_type
=
old_primitive_type
;
device
->
currentPatch
=
NULL
;
/* Destroy uncached patches */
if
(
!
handle
)
...
...
dlls/wined3d/wined3d_private.h
View file @
a7120866
...
...
@@ -1742,7 +1742,6 @@ struct wined3d_device
#define PATCHMAP_SIZE 43
#define PATCHMAP_HASHFUNC(x) ((x) % PATCHMAP_SIZE)
/* Primitive and simple function */
struct
list
patches
[
PATCHMAP_SIZE
];
struct
WineD3DRectPatch
*
currentPatch
;
};
HRESULT
device_clear_render_targets
(
struct
wined3d_device
*
device
,
UINT
rt_count
,
const
struct
wined3d_fb_state
*
fb
,
...
...
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