vinit bansal <ban...@gm...> writes:
> I'm a novice to openGL. My objective is to create a win32 Window,
> render some image onto it and want to copy it's framebuffer.
[snip]
> But i want to capture the framebuffer of that win32 window so that i
> can copy it to another buffer. Wgl doesnot provide any api like EGL
> does i.e. EglCopyBuffers().
You can do this in straight gl. See `glReadPixels'.
Might want to look at framebuffer objects / renderbuffers if this is a
common use case for you.
-tom
|