Oops! I didn't know that, sorry for the errant patch then. I'll leave that to someone who knows more about the pieces involved. (I'm happy to hear that though, as it had seemed a shame to make that decision at build time instead of run time.)<br>
<br>One thing, though -- why, then, are there any conditionals based on e.g. RENDER_MAJOR?<br><br>Damian<br><br><br><div class="gmail_quote">On Wed, Aug 12, 2009 at 2:23 AM, Chris Wilson <span dir="ltr"><<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
</div>We have a private copy of Xrender.h in cairo-xlib-xrender-private.h that<br>
is meant to hide the details of what is absent from the main body of the<br>
code. I'd prefer a solution that kept the ifdefs out of<br>
cairo-xlib-surface.c, so I'd imagine that it'll take a bit of work to<br>
conditionally consume a few more Xrender stubs and ensure that<br>
buggy_gradients is defined if the headers are too old as well.<br>
Thanks,<br>
-ickle<br>
<br>
</blockquote></div><br>