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
59c017c8
Commit
59c017c8
authored
Aug 26, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 26, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Properly check if an attribute is used in state_normalize().
parent
6ef17134
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
state.c
dlls/wined3d/state.c
+1
-2
No files found.
dlls/wined3d/state.c
View file @
59c017c8
...
...
@@ -1344,8 +1344,7 @@ static void state_normalize(DWORD state, IWineD3DStateBlockImpl *stateblock, str
* by zero and is not properly defined in opengl, so avoid it
*/
if
(
stateblock
->
renderState
[
WINED3DRS_NORMALIZENORMALS
]
&&
(
stateblock
->
wineD3DDevice
->
strided_streams
.
elements
[
WINED3D_FFP_NORMAL
].
data
||
stateblock
->
wineD3DDevice
->
strided_streams
.
elements
[
WINED3D_FFP_NORMAL
].
buffer_object
))
&&
(
stateblock
->
wineD3DDevice
->
strided_streams
.
use_map
&
(
1
<<
WINED3D_FFP_NORMAL
)))
{
glEnable
(
GL_NORMALIZE
);
checkGLcall
(
"glEnable(GL_NORMALIZE);"
);
...
...
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