wined3d: Document the correlation of gl_shaders and num_gl_shaders with an assertion (Coverity 905).

Henri Verbeet hverbeet at gmail.com
Sun Mar 22 16:57:24 CDT 2009


2009/3/22 James Hawkins <truiken at gmail.com>:
> ---
>  dlls/wined3d/vertexshader.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
I guess the nicer way to make Coverity shut up would be to replace
"if(shader->gl_shaders) {" with "if (shader->num_gl_shaders)".
Wouldn't the code in find_gl_pshader() in pixelshader.c cause the same
warning though?



More information about the wine-devel mailing list