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
4ba464bd
Commit
4ba464bd
authored
Sep 12, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 13, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Rename markTextureStagesDirty() to device_invalidate_texture_stage().
parent
66637ea3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
device.c
dlls/wined3d/device.c
+4
-6
No files found.
dlls/wined3d/device.c
View file @
4ba464bd
...
...
@@ -2833,7 +2833,7 @@ HRESULT CDECL wined3d_device_get_vs_consts_f(struct wined3d_device *device,
return
WINED3D_OK
;
}
static
inline
void
markTextureStagesDirty
(
struct
wined3d_device
*
device
,
DWORD
stage
)
static
void
device_invalidate_texture_stage
(
const
struct
wined3d_device
*
device
,
DWORD
stage
)
{
DWORD
i
;
...
...
@@ -2913,7 +2913,7 @@ static void device_map_fixed_function_samplers(struct wined3d_device *device, co
{
device_map_stage
(
device
,
i
,
i
);
device_invalidate_state
(
device
,
STATE_SAMPLER
(
i
));
markTextureStagesDirty
(
device
,
i
);
device_invalidate_texture_stage
(
device
,
i
);
}
}
return
;
...
...
@@ -2929,7 +2929,7 @@ static void device_map_fixed_function_samplers(struct wined3d_device *device, co
{
device_map_stage
(
device
,
i
,
tex
);
device_invalidate_state
(
device
,
STATE_SAMPLER
(
i
));
markTextureStagesDirty
(
device
,
i
);
device_invalidate_texture_stage
(
device
,
i
);
}
++
tex
;
...
...
@@ -2949,9 +2949,7 @@ static void device_map_psamplers(struct wined3d_device *device, const struct win
device_map_stage
(
device
,
i
,
i
);
device_invalidate_state
(
device
,
STATE_SAMPLER
(
i
));
if
(
i
<
gl_info
->
limits
.
texture_stages
)
{
markTextureStagesDirty
(
device
,
i
);
}
device_invalidate_texture_stage
(
device
,
i
);
}
}
}
...
...
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