I believe I have a fix for this. How can I test that it works properly?

Also, there are some calls that are in comments that don't have direct translations to CGL. For example:

/*aglSetDrawable(ctx, GetWindowPort(wnd));*/

Should these be converted as well or just removed to avoid confusion?

I also noticed that the Makefile in glew accepts a System of darwin-x86_64, while the one in glew/auto accepts Darwin-x86_64. Would it be inappropriate to modify glew/auto/Makefile so it accepts the lowercase version in this change?