<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Dear Duc,<br>
    <br>
    If you read your own first mail with the code snippet you pasted:<br>
    <br>
    <span class="postbody">    virtual void operator ()
      (osg::RenderInfo& renderInfo) const
      <br>
          {
      <br>
      #if !defined(OSG_GLES1_AVAILABLE) &&
      !defined(OSG_GLES2_AVAILABLE)
      <br>
              glReadBuffer(_readBuffer);
      <br>
      #else
      <br>
              osg::notify(osg::NOTICE)<<"Error: GLES unable to do
      glReadBuffer"<<std::endl;
      <br>
      #endif
      <br>
      <br>
      I guess that's clear, right?<br>
      <br>
      Cheers<br>
      Raymond<br>
      <br>
    </span><br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 29-12-2016 2:27, Sebastian
      Messerschmidt wrote:<br>
    </div>
    <blockquote
cite="mid:trinity-c14879e6-9477-458a-8ffd-3e2e4a0c6d95-1482974876012@msvc-mesg-gmx105"
      type="cite">
      <meta name="viewport" content="width=device-width">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div class="mail_android_message" style="line-height: 1; padding:
        0.5em">Hi,<br>
        it is hard to tell what is going wrong without further
        information. For instance it is crucial to call the glReadPixel
        function in the right moment. Could you provide some example
        that shows the problem? Also: is the osgscreencapture or the
        osgviewers screenshot-functionality working? <br>
        <br>
        Cheers <br>
        Sebastian<br>
        -- <br>
        Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX
        Mail gesendet.</div>
      <div class="mail_android_quote" style="line-height: 1; padding:
        0.3em">Am 29.12.16, 02:06, duc nguyen <a class="moz-txt-link-rfc2396E" href="mailto:osgforum@tevs.eu"><osgforum@tevs.eu></a>
        schrieb:
        <blockquote class="gmail_quote" style="margin: 0.8ex 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;"> <br>
          hartwigw wrote:<br>
          > Hi,<br>
          ><br>
          > glReadPixels is not supported by iOS.<br>
          ><br>
          > Cheers,<br>
          > Hartwig<br>
          <br>
          <br>
          But my iOS device use Open GLES 2.0 an it support glReadPixels
          function<br>
          <br>
          ------------------<br>
          Read this topic online here:<br>
          <a moz-do-not-send="true"
            href="http://forum.openscenegraph.org/viewtopic.php?p=69789#69789"
            target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=69789#69789</a><br>
          <br>
          <br>
          <br>
          <br>
          <br>
          _______________________________________________<br>
          osg-users mailing list<br>
          <a class="moz-txt-link-abbreviated" href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
          <a moz-do-not-send="true"
href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org"
            target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
osg-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>