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
498664af
Commit
498664af
authored
May 17, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
May 17, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove some unused winetexturestates elements.
parent
44ab3d70
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
basetexture.c
dlls/wined3d/basetexture.c
+0
-3
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-4
No files found.
dlls/wined3d/basetexture.c
View file @
498664af
...
...
@@ -299,9 +299,6 @@ HRESULT basetexture_bind(IWineD3DBaseTexture *iface, BOOL srgb, BOOL *set_surfac
gl_tex
->
states
[
WINED3DTEXSTA_MAXMIPLEVEL
]
=
0
;
gl_tex
->
states
[
WINED3DTEXSTA_MAXANISOTROPY
]
=
1
;
gl_tex
->
states
[
WINED3DTEXSTA_SRGBTEXTURE
]
=
0
;
gl_tex
->
states
[
WINED3DTEXSTA_ELEMENTINDEX
]
=
0
;
gl_tex
->
states
[
WINED3DTEXSTA_DMAPOFFSET
]
=
0
;
gl_tex
->
states
[
WINED3DTEXSTA_TSSADDRESSW
]
=
WINED3DTADDRESS_WRAP
;
IWineD3DBaseTexture_SetDirty
(
iface
,
TRUE
);
isNewTexture
=
TRUE
;
...
...
dlls/wined3d/wined3d_private.h
View file @
498664af
...
...
@@ -1821,10 +1821,7 @@ typedef enum winetexturestates {
WINED3DTEXSTA_MAXMIPLEVEL
=
7
,
WINED3DTEXSTA_MAXANISOTROPY
=
8
,
WINED3DTEXSTA_SRGBTEXTURE
=
9
,
WINED3DTEXSTA_ELEMENTINDEX
=
10
,
WINED3DTEXSTA_DMAPOFFSET
=
11
,
WINED3DTEXSTA_TSSADDRESSW
=
12
,
MAX_WINETEXTURESTATES
=
13
,
MAX_WINETEXTURESTATES
=
10
,
}
winetexturestates
;
enum
WINED3DSRGB
...
...
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