mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 20:15:31 +00:00
Updated deprecation message with specific instructions on how to solve the issue.
This commit is contained in:
parent
40235d84ca
commit
3e1e9dfdca
|
@ -388,7 +388,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 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).")]
|
[Obsolete("This method will not work correctly with OpenGL|ES. Please use GL.ReadPixels to capture the contents of the framebuffer (refer to http://www.opentk.com/doc/graphics/save-opengl-rendering-to-disk for more information).")]
|
||||||
public Bitmap GrabScreenshot()
|
public Bitmap GrabScreenshot()
|
||||||
{
|
{
|
||||||
ValidateState();
|
ValidateState();
|
||||||
|
|
Loading…
Reference in a new issue