forked from enlightenment/efl
It is not necessary to dynamically link to glReadPixels since this is not an extension. This code wouldn't even work on some devices. Also, the pixels returned are not premultiplied (yeah >_<) And some devices (EGL) don't support GL_BGRA... so glReadPixels would just fail and not fill in the pixels. Conversion is required. |
||
---|---|---|
.. | ||
engines | ||
loaders | ||
savers |