On Mon, 03 Oct 2011 08:51:09 -0600, Brian Paul <bri...@vmware.com> wrote:
> On 09/29/2011 04:40 PM, Eric Anholt wrote:
> Just a minor stylistic comment on the above code.  I'd prefer it to be:
> 
>   if (target == GL_TEXTURE_1D_ARRAY) {
>      /* 1D array code here */
>   }
>   else {
>      /* other target code here */
>   }
> 
> Maybe it's just me, but I find code easier to read when conditionals 
> are structured like that.

That's something I'm ambivalent about, so I'll adopt someone else's
preference.

Attachment: pgpx7N7ZQN9KC.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to