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
672ad061
Commit
672ad061
authored
Oct 23, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the mostly unused "num_textures_used" field from arbfp_ffp_desc.
parent
6e4fd6b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+0
-8
No files found.
dlls/wined3d/arb_program_shader.c
View file @
672ad061
...
...
@@ -5618,7 +5618,6 @@ struct arbfp_ffp_desc
{
struct
ffp_frag_desc
parent
;
GLuint
shader
;
unsigned
int
num_textures_used
;
};
/* Context activation and GL locking are done by the caller. */
...
...
@@ -6421,13 +6420,6 @@ static void fragment_prog_arbfp(struct wined3d_context *context, const struct wi
ERR
(
"Out of memory
\n
"
);
return
;
}
new_desc
->
num_textures_used
=
0
;
for
(
i
=
0
;
i
<
gl_info
->
limits
.
texture_stages
;
++
i
)
{
if
(
settings
.
op
[
i
].
cop
==
WINED3D_TOP_DISABLE
)
break
;
new_desc
->
num_textures_used
=
i
;
}
memcpy
(
&
new_desc
->
parent
.
settings
,
&
settings
,
sizeof
(
settings
));
new_desc
->
shader
=
gen_arbfp_ffp_shader
(
&
settings
,
gl_info
);
...
...
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