<div dir="ltr">On 9 January 2014 20:03, Chris Forbes <span dir="ltr"><<a href="mailto:chrisf@ijw.co.nz" target="_blank">chrisf@ijw.co.nz</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
This is a slightly odd construction (although copied from the existing code):<br>
<div class=""><div class="h5"><br>
>  +  if ((shProg == NULL) || (shProg->_LinkedShaders[stage] == NULL))<br>
>  +    shProg = NULL;<br>
</div></div></blockquote></div><br></div><div class="gmail_extra">You're right.  This would be much better as:<br><br>   if ((shProg != NULL) && (shProg->_LinkedShaders[stage] == NULL))<br>      shProg = NULL;<br>
<br></div><div class="gmail_extra">I'll update it in a follow-up patch.<br></div></div>