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
fbffd8ba
Commit
fbffd8ba
authored
Mar 30, 2015
by
Matteo Bruni
Committed by
Alexandre Julliard
Mar 31, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Enable WINED3D_RS_NORMALIZENORMALS on d3d versions older than d3d7.
parent
382c8fde
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
device.c
dlls/ddraw/device.c
+2
-0
No files found.
dlls/ddraw/device.c
View file @
fbffd8ba
...
...
@@ -6839,6 +6839,8 @@ static HRESULT d3d_device_init(struct d3d_device *device, struct ddraw *ddraw,
wined3d_device_set_render_state
(
ddraw
->
wined3d_device
,
WINED3D_RS_COLORKEYENABLE
,
TRUE
);
else
if
(
version
==
2
)
wined3d_device_set_render_state
(
ddraw
->
wined3d_device
,
WINED3D_RS_SPECULARENABLE
,
TRUE
);
if
(
version
<
7
)
wined3d_device_set_render_state
(
ddraw
->
wined3d_device
,
WINED3D_RS_NORMALIZENORMALS
,
TRUE
);
return
D3D_OK
;
}
...
...
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