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
2e55c196
Commit
2e55c196
authored
Jan 06, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jan 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove some unneeded context cache members from the device.
parent
d47ec212
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
state.c
dlls/wined3d/state.c
+0
-5
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-3
No files found.
dlls/wined3d/state.c
View file @
2e55c196
...
...
@@ -307,10 +307,6 @@ static void state_blend(DWORD state, IWineD3DStateBlockImpl *stateblock) {
TRACE
(
"glBlendFunc src=%x, dst=%x
\n
"
,
srcBlend
,
dstBlend
);
glBlendFunc
(
srcBlend
,
dstBlend
);
checkGLcall
(
"glBlendFunc"
);
/* TODO: Remove when state management done */
stateblock
->
wineD3DDevice
->
dstBlend
=
dstBlend
;
stateblock
->
wineD3DDevice
->
srcBlend
=
srcBlend
;
}
static
void
state_blendfactor
(
DWORD
state
,
IWineD3DStateBlockImpl
*
stateblock
)
{
...
...
@@ -361,7 +357,6 @@ static void state_alpha(DWORD state, IWineD3DStateBlockImpl *stateblock) {
glParm
=
CompareFunc
(
stateblock
->
renderState
[
WINED3DRS_ALPHAFUNC
]);
}
if
(
glParm
)
{
stateblock
->
wineD3DDevice
->
alphafunc
=
glParm
;
/* Remove when state management done */
glAlphaFunc
(
glParm
,
ref
);
checkGLcall
(
"glAlphaFunc"
);
}
...
...
dlls/wined3d/wined3d_private.h
View file @
2e55c196
...
...
@@ -576,9 +576,6 @@ typedef struct IWineD3DDeviceImpl
#define IS_TRACKING 1
/* tracking_parm is tracking diffuse color */
#define NEEDS_TRACKING 2
/* Tracking needs to be enabled when needed */
#define NEEDS_DISABLE 3
/* Tracking needs to be disabled when needed*/
UINT
srcBlend
;
UINT
dstBlend
;
UINT
alphafunc
;
BOOL
texture_shader_active
;
/* TODO: Confirm use is correct */
BOOL
last_was_notclipped
;
BOOL
untransformed
;
...
...
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