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
07c8120b
Commit
07c8120b
authored
Apr 21, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Apr 21, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove variable dlc_tmp which is not really used from shader_arb_generate_pshader.
parent
dec98a59
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+3
-2
No files found.
dlls/wined3d/arb_program_shader.c
View file @
07c8120b
...
...
@@ -3309,7 +3309,7 @@ static GLuint shader_arb_generate_pshader(IWineD3DPixelShaderImpl *This, struct
char
fragcolor
[
16
];
DWORD
*
lconst_map
=
local_const_mapping
((
IWineD3DBaseShaderImpl
*
)
This
),
next_local
,
cur
;
struct
shader_arb_ctx_priv
priv_ctx
;
BOOL
dcl_t
mp
=
args
->
super
.
srgb_correction
,
dcl_t
d
=
FALSE
;
BOOL
dcl_td
=
FALSE
;
BOOL
want_nv_prog
=
FALSE
;
struct
arb_pshader_private
*
shader_priv
=
This
->
baseShader
.
backend_data
;
GLint
errPos
;
...
...
@@ -3331,7 +3331,6 @@ static GLuint shader_arb_generate_pshader(IWineD3DPixelShaderImpl *This, struct
}
switch
(
found
)
{
case
4
:
dcl_tmp
=
FALSE
;
break
;
case
0
:
sprintf
(
srgbtmp
[
0
],
"TA"
);
sprintf
(
srgbtmp
[
1
],
"TB"
);
...
...
@@ -3351,6 +3350,8 @@ static GLuint shader_arb_generate_pshader(IWineD3DPixelShaderImpl *This, struct
case
3
:
sprintf
(
srgbtmp
[
3
],
"TA"
);
break
;
case
4
:
break
;
}
/* Create the hw ARB shader */
...
...
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