Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: glBlitFramebuffer tip

  1. #1
    Advanced Member Frequent Contributor
    Join Date
    Apr 2003

    glBlitFramebuffer tip

    Something non-obvious that I learned just the other day :-)

    If you ever do a blit and wonder why it doesn't seem to work though no error occurs, check glDepthMask(), glColorMask() and glStencilMask(). They can prevent the blit from writing something into the destination buffer. Also be aware that it is possible to direct the writing of color data into several destination color buffers at once via glDrawBuffers().

  2. #2
    Junior Member Regular Contributor
    Join Date
    Aug 2009

    Re: glBlitFramebuffer tip

    Thanks. Something to keep in mind.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts