ofImage RGBA intel mac bug persists

before was posted by christian “ofImage RGBA grabScreen on an Intel Mac” regarding swapping channels on alpha images.

looks like this ofImage code wasn’t changed for v05…

working fix is as such (from other post)

in f’n grabScreen
@line 108________

case 32:
#ifdef TARGET_LITTLE_ENDIAN
glReadPixels(_x, _y, _w, _h, GL_BGRA,GL_UNSIGNED_BYTE, pixels);
#else
glReadPixels(_x, _y, _w, _h, GL_RGBA,GL_UNSIGNED_BYTE, pixels);
#endif
break;

thanks!

_K