Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c492ec19
Commit
c492ec19
authored
Dec 14, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Pass implementation pointers to get_glsl_program_entry().
parent
bb80fdf7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
glsl_shader.c
dlls/wined3d/glsl_shader.c
+6
-6
No files found.
dlls/wined3d/glsl_shader.c
View file @
c492ec19
...
...
@@ -3703,13 +3703,14 @@ static void add_glsl_program_entry(struct shader_glsl_priv *priv, struct glsl_sh
}
static
struct
glsl_shader_prog_link
*
get_glsl_program_entry
(
struct
shader_glsl_priv
*
priv
,
IWineD3DVertexShader
*
vshader
,
IWineD3DPixelShader
*
pshader
,
struct
vs_compile_args
*
vs_args
,
struct
ps_compile_args
*
ps_args
)
{
IWineD3DVertexShaderImpl
*
vshader
,
IWineD3DPixelShaderImpl
*
pshader
,
struct
vs_compile_args
*
vs_args
,
struct
ps_compile_args
*
ps_args
)
{
struct
wine_rb_entry
*
entry
;
glsl_program_key_t
key
;
key
.
vshader
=
(
IWineD3DVertexShaderImpl
*
)
vshader
;
key
.
pshader
=
(
IWineD3DPixelShaderImpl
*
)
pshader
;
key
.
vshader
=
vshader
;
key
.
pshader
=
pshader
;
key
.
vs_args
=
*
vs_args
;
key
.
ps_args
=
*
ps_args
;
...
...
@@ -4302,8 +4303,7 @@ static void set_glsl_shader_program(const struct wined3d_context *context,
if
(
vshader
)
find_vs_compile_args
(
state
,
vshader
,
&
vs_compile_args
);
if
(
pshader
)
find_ps_compile_args
(
state
,
pshader
,
&
ps_compile_args
);
entry
=
get_glsl_program_entry
(
priv
,
(
IWineD3DVertexShader
*
)
vshader
,
(
IWineD3DPixelShader
*
)
pshader
,
&
vs_compile_args
,
&
ps_compile_args
);
entry
=
get_glsl_program_entry
(
priv
,
vshader
,
pshader
,
&
vs_compile_args
,
&
ps_compile_args
);
if
(
entry
)
{
priv
->
glsl_program
=
entry
;
...
...
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