Matt:
About this recent change to remove a compilation warning:
# if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
if (ctx) aglSetWindowRef(ctx, NULL);
#else
if (ctx) aglSetDrawable(ctx, NULL);
#endif
Wouldn't it be better to also test for aglSetWindowRef != NULL
and call ag
On 13.03.2010, at 08:47, manolo gouy wrote:
> Matt:
>
> About this recent change to remove a compilation warning:
> # if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
> if (ctx) aglSetWindowRef(ctx, NULL);
> #else
> if (ctx) aglSetDrawable(ctx, NULL);
> #endif
>
> Wouldn't i
>
> On 13.03.2010, at 08:47, manolo gouy wrote:
>
> > Matt:
> >=20
> > About this recent change to remove a compilation warning:
> > # if MAC_OS_X_VERSION_MAX_ALLOWED >=3D MAC_OS_X_VERSION_10_5
> > if (ctx) aglSetWindowRef(ctx, NULL);
> > #else
> > if (ctx) aglSetDrawable(ctx, NULL);
> > #
About the interrogative comment added, I imagine by Matt, at line
322 of file src/fl_font_mac.cxx:
// FIXME: I do not understand the shuffeling of the above ifdef's
// and why they are here!
The recommend way to deal with a system call appearing in a Mac OS
version, say newcall() in 10.5 is:
#if M
On 14 Mar 2010, at 9:22, manolo gouy wrote:
> About the interrogative comment added, I imagine by Matt, at line
> 322 of file src/fl_font_mac.cxx:
Just for the record (and not commenting at all on the actual
question!) under svn, if you need to know who/when a change was made,
use: