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
5381dd2c
Commit
5381dd2c
authored
Nov 24, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Nov 27, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Cast-qual warnings fix.
parent
48af421a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
baseshader.c
dlls/wined3d/baseshader.c
+6
-6
No files found.
dlls/wined3d/baseshader.c
View file @
5381dd2c
...
...
@@ -701,7 +701,7 @@ void shader_generate_main(
if
(
shader_is_comment
(
*
pToken
))
{
DWORD
comment_len
=
(
*
pToken
&
WINED3DSI_COMMENTSIZE_MASK
)
>>
WINED3DSI_COMMENTSIZE_SHIFT
;
++
pToken
;
TRACE
(
"#%s
\n
"
,
(
char
*
)
pToken
);
TRACE
(
"#%s
\n
"
,
(
c
onst
c
har
*
)
pToken
);
pToken
+=
comment_len
;
continue
;
}
...
...
@@ -834,7 +834,7 @@ void shader_trace_init(
if
(
shader_is_comment
(
*
pToken
))
{
/** comment */
DWORD
comment_len
=
(
*
pToken
&
WINED3DSI_COMMENTSIZE_MASK
)
>>
WINED3DSI_COMMENTSIZE_SHIFT
;
++
pToken
;
TRACE
(
"//%s
\n
"
,
(
char
*
)
pToken
);
TRACE
(
"//%s
\n
"
,
(
c
onst
c
har
*
)
pToken
);
pToken
+=
comment_len
;
len
+=
comment_len
+
1
;
continue
;
...
...
@@ -868,10 +868,10 @@ void shader_trace_init(
unsigned
int
offset
=
shader_get_float_offset
(
*
pToken
);
TRACE
(
"def c%u = %f, %f, %f, %f"
,
offset
,
*
(
float
*
)(
pToken
+
1
),
*
(
float
*
)(
pToken
+
2
),
*
(
float
*
)(
pToken
+
3
),
*
(
float
*
)(
pToken
+
4
));
*
(
const
float
*
)(
pToken
+
1
),
*
(
const
float
*
)(
pToken
+
2
),
*
(
const
float
*
)(
pToken
+
3
),
*
(
const
float
*
)(
pToken
+
4
));
pToken
+=
5
;
len
+=
5
;
...
...
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