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
7b5bf3d4
Commit
7b5bf3d4
authored
Nov 28, 2014
by
Stefan Dösinger
Committed by
Alexandre Julliard
Nov 28, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Update fragment program constants when switching from arb ffp draws.
parent
06010471
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+5
-1
No files found.
dlls/wined3d/arb_program_shader.c
View file @
7b5bf3d4
...
@@ -6536,7 +6536,11 @@ static void fragment_prog_arbfp(struct wined3d_context *context, const struct wi
...
@@ -6536,7 +6536,11 @@ static void fragment_prog_arbfp(struct wined3d_context *context, const struct wi
state_arb_specularenable
(
context
,
state
,
STATE_RENDER
(
WINED3D_RS_SPECULARENABLE
));
state_arb_specularenable
(
context
,
state
,
STATE_RENDER
(
WINED3D_RS_SPECULARENABLE
));
}
}
context
->
last_was_pshader
=
FALSE
;
context
->
last_was_pshader
=
FALSE
;
}
else
{
}
else
if
(
!
context
->
last_was_pshader
)
{
if
(
device
->
shader_backend
==
&
arb_program_shader_backend
)
context
->
constant_update_mask
|=
WINED3D_SHADER_CONST_PS_F
;
context
->
last_was_pshader
=
TRUE
;
context
->
last_was_pshader
=
TRUE
;
}
}
...
...
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