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
3643d59d
Commit
3643d59d
authored
Oct 08, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Make sure some variables are always initialized.
parent
9aaccfe7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
ati_fragment_shader.c
dlls/wined3d/ati_fragment_shader.c
+5
-1
glsl_shader.c
dlls/wined3d/glsl_shader.c
+1
-0
No files found.
dlls/wined3d/ati_fragment_shader.c
View file @
3643d59d
...
...
@@ -163,7 +163,11 @@ static GLuint register_for_arg(DWORD arg, WineD3D_GL_Info *gl_info, unsigned int
GLenum
ret
;
if
(
mod
)
*
mod
=
GL_NONE
;
if
(
arg
==
ARG_UNUSED
)
return
-
1
;
/* This is the marker for unused registers */
if
(
arg
==
ARG_UNUSED
)
{
if
(
rep
)
*
rep
=
GL_NONE
;
return
-
1
;
/* This is the marker for unused registers */
}
switch
(
arg
&
WINED3DTA_SELECTMASK
)
{
case
WINED3DTA_DIFFUSE
:
...
...
dlls/wined3d/glsl_shader.c
View file @
3643d59d
...
...
@@ -1219,6 +1219,7 @@ static void shader_glsl_get_sample_function(DWORD sampler_type, BOOL projected,
break
;
default:
sample_function
->
name
=
""
;
sample_function
->
coord_mask
=
0
;
FIXME
(
"Unrecognized sampler type: %#x;
\n
"
,
sampler_type
);
break
;
}
...
...
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