title: How to take screenshots of a game with OpenGL
body: <p>I'm trying to take screenshots of a game created in OpenGL..</p>
  
  <p>I have this code:</p>
  
  <pre><code>_captureProcess.BringProcessWindowToFront();
  ScreenCapture sc = new ScreenCapture();
  Image img = sc.CaptureWindow(_process.MainWindowHandle);
  </code></pre>
  
  <p>From: <a href="http://www.developerfusion.com/code/4630/capture-a-screen-shot/" rel="nofollow">http://www.developerfusion.com/code/4630/capture-a-screen-shot/</a></p>
  
  <p>The IntPTR is correct!
  But the image is completely black!</p>
  
  <p>_process = Game in full screen, OPENGL..</p>
  
  <p>How could I do to be able to take screenshots in real time, without getting the black screen?</p>