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
b1e1df51
Commit
b1e1df51
authored
Feb 10, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Feb 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Extend out anti-spam database a bit.
parent
9717113f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
glsl_shader.c
dlls/wined3d/glsl_shader.c
+8
-2
No files found.
dlls/wined3d/glsl_shader.c
View file @
b1e1df51
...
...
@@ -62,7 +62,10 @@ void print_glsl_info_log(WineD3D_GL_Info *gl_info, GLhandleARB obj) {
const
char
*
spam
[]
=
{
"Vertex shader was successfully compiled to run on hardware.
\n
"
,
/* fglrx */
"Fragment shader was successfully compiled to run on hardware.
\n
"
,
/* fglrx */
"Fragment shader(s) linked, vertex shader(s) linked."
/* fglrx, no \n */
"Fragment shader(s) linked, vertex shader(s) linked."
,
/* fglrx, no \n */
"Vertex shader(s) linked, no fragment shader(s) defined."
,
/* fglrx, no \n */
"Fragment shader was successfully compiled to run on hardware.
\n
WARNING: 0:1: extension 'GL_ARB_draw_buffers' is not supported"
,
"Fragment shader(s) linked, no vertex shader(s) defined."
/* fglrx, no \n */
};
GL_EXTCALL
(
glGetObjectParameterivARB
(
obj
,
...
...
@@ -73,7 +76,10 @@ void print_glsl_info_log(WineD3D_GL_Info *gl_info, GLhandleARB obj) {
* that if there are errors. */
if
(
infologLength
>
1
)
{
infoLog
=
HeapAlloc
(
GetProcessHeap
(),
0
,
infologLength
);
/* Fglrx doesn't terminate the string properly, but it tells us the proper length.
* So use HEAP_ZERO_MEMORY to avoid uninitialized bytes
*/
infoLog
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
infologLength
);
GL_EXTCALL
(
glGetInfoLogARB
(
obj
,
infologLength
,
NULL
,
infoLog
));
is_spam
=
FALSE
;
...
...
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