> Looks fine to me, though I'm not a fan of ifdefs. Can we reduce them by moving > the declaration of wasBlend to its definition?, eg > > GLboolean wasBlend = glIsEnabled (GL_BLEND); > > That way we can keep it within the same ifdef.
Sure :)
Done.
« Back to merge proposal
> Looks fine to me, though I'm not a fan of ifdefs. Can we reduce them by moving
> the declaration of wasBlend to its definition?, eg
>
> GLboolean wasBlend = glIsEnabled (GL_BLEND);
>
> That way we can keep it within the same ifdef.
Sure :)
Done.