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
8e1e6261
Commit
8e1e6261
authored
Oct 15, 2006
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 16, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove '\0's in traces.
parent
9a133441
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
pixelshader.c
dlls/wined3d/pixelshader.c
+2
-2
vertexshader.c
dlls/wined3d/vertexshader.c
+2
-2
No files found.
dlls/wined3d/pixelshader.c
View file @
8e1e6261
...
...
@@ -860,7 +860,7 @@ inline static VOID IWineD3DPixelShaderImpl_GenerateShader(
else
shader_addline
(
&
buffer
,
"gl_FragColor = R0;
\n
"
);
}
shader_addline
(
&
buffer
,
"}
\n
\0
"
);
shader_addline
(
&
buffer
,
"}
\n
"
);
TRACE
(
"Compiling shader object %u
\n
"
,
shader_obj
);
GL_EXTCALL
(
glShaderSourceARB
(
shader_obj
,
1
,
(
const
char
**
)
&
buffer
.
buffer
,
NULL
));
...
...
@@ -891,7 +891,7 @@ inline static VOID IWineD3DPixelShaderImpl_GenerateShader(
if
(
This
->
baseShader
.
hex_version
<
WINED3DPS_VERSION
(
2
,
0
))
shader_addline
(
&
buffer
,
"MOV result.color, R0;
\n
"
);
shader_addline
(
&
buffer
,
"END
\n
\0
"
);
shader_addline
(
&
buffer
,
"END
\n
"
);
/* TODO: change to resource.glObjectHandle or something like that */
GL_EXTCALL
(
glGenProgramsARB
(
1
,
&
This
->
baseShader
.
prgId
));
...
...
dlls/wined3d/vertexshader.c
View file @
8e1e6261
...
...
@@ -750,7 +750,7 @@ static VOID IWineD3DVertexShaderImpl_GenerateShader(
*/
shader_addline
(
&
buffer
,
"gl_Position.y = gl_Position.y * posFixup[1];
\n
"
);
shader_addline
(
&
buffer
,
"}
\n
\0
"
);
shader_addline
(
&
buffer
,
"}
\n
"
);
TRACE
(
"Compiling shader object %u
\n
"
,
shader_obj
);
GL_EXTCALL
(
glShaderSourceARB
(
shader_obj
,
1
,
(
const
char
**
)
&
buffer
.
buffer
,
NULL
));
...
...
@@ -803,7 +803,7 @@ static VOID IWineD3DVertexShaderImpl_GenerateShader(
shader_addline
(
&
buffer
,
"MOV result.position, TMP_OUT;
\n
"
);
shader_addline
(
&
buffer
,
"END
\n
\0
"
);
shader_addline
(
&
buffer
,
"END
\n
"
);
/* TODO: change to resource.glObjectHandle or something like that */
GL_EXTCALL
(
glGenProgramsARB
(
1
,
&
This
->
baseShader
.
prgId
));
...
...
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