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
438f68cc
Commit
438f68cc
authored
Jun 19, 2015
by
Matteo Bruni
Committed by
Alexandre Julliard
Jun 19, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Drop unused gl_info parameter from shader_glsl_ffp_vertex_lighting().
parent
ba7d599b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
glsl_shader.c
dlls/wined3d/glsl_shader.c
+2
-3
No files found.
dlls/wined3d/glsl_shader.c
View file @
438f68cc
...
...
@@ -5389,8 +5389,7 @@ static const char *shader_glsl_ffp_mcs(enum wined3d_material_color_source mcs, c
}
static
void
shader_glsl_ffp_vertex_lighting
(
struct
wined3d_string_buffer
*
buffer
,
const
struct
wined3d_ffp_vs_settings
*
settings
,
const
struct
wined3d_gl_info
*
gl_info
,
BOOL
legacy_lighting
)
const
struct
wined3d_ffp_vs_settings
*
settings
,
BOOL
legacy_lighting
)
{
const
char
*
diffuse
,
*
specular
,
*
emissive
,
*
ambient
;
enum
wined3d_light_type
light_type
;
...
...
@@ -5666,7 +5665,7 @@ static GLuint shader_glsl_generate_ffp_vertex_shader(struct wined3d_string_buffe
else
shader_addline
(
buffer
,
"vec3 normal = ffp_normal_matrix * ffp_attrib_normal;
\n
"
);
shader_glsl_ffp_vertex_lighting
(
buffer
,
settings
,
gl_info
,
legacy_lighting
);
shader_glsl_ffp_vertex_lighting
(
buffer
,
settings
,
legacy_lighting
);
for
(
i
=
0
;
i
<
MAX_TEXTURES
;
++
i
)
{
...
...
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