Clarified GrabScreenshot() ObsoleteAttribute message.

This commit is contained in:
the_fiddler 2009-10-15 14:15:26 +00:00
parent 6d2c0be7b3
commit 6a0b75d67c

View file

@ -365,7 +365,7 @@ namespace OpenTK
/// <exception cref="OpenTK.Graphics.GraphicsContextException"> /// <exception cref="OpenTK.Graphics.GraphicsContextException">
/// Occurs when no OpenTK.Graphics.GraphicsContext is current in the calling thread. /// Occurs when no OpenTK.Graphics.GraphicsContext is current in the calling thread.
/// </exception> /// </exception>
[Obsolete("This method will be removed. Please provide your own code to capture framebuffer contents.")] [Obsolete("This method will not work correctly with OpenGL|ES. Please use ReadPixels to capture the contents of the framebuffer (you can then load them into a System.Drawing.Bitmap for further processing or saving them to disk).")]
public Bitmap GrabScreenshot() public Bitmap GrabScreenshot()
{ {
ValidateState(); ValidateState();