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
b5affa6d
Commit
b5affa6d
authored
Apr 27, 2015
by
Matteo Bruni
Committed by
Alexandre Julliard
Apr 28, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Set spotlight direction .w component to 0.0f.
It's a direction so we don't want to get translations applied to it. The variable is only used internally.
parent
50009c4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
device.c
dlls/wined3d/device.c
+1
-1
No files found.
dlls/wined3d/device.c
View file @
b5affa6d
...
...
@@ -1550,7 +1550,7 @@ HRESULT CDECL wined3d_device_set_light(struct wined3d_device *device,
object
->
lightDirn
[
0
]
=
light
->
direction
.
x
;
object
->
lightDirn
[
1
]
=
light
->
direction
.
y
;
object
->
lightDirn
[
2
]
=
light
->
direction
.
z
;
object
->
lightDirn
[
3
]
=
1
.
0
f
;
object
->
lightDirn
[
3
]
=
0
.
0
f
;
/* opengl-ish and d3d-ish spot lights use too different models
* for the light "intensity" as a function of the angle towards
...
...
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