Skip to content

Commit

Permalink
chore: adjust docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ramezgerges committed Nov 20, 2024
1 parent d982d10 commit 0848ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/articles/controls/GLCanvasElement.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Additionally, `GLCanvasElement` has an `Invalidate` method that requests a redra

## Detecting errors

To detect errors in initializing the OpenGL environment, `GLCanvasElement` exposes a `LoadedSuccessfully` property that shows whether or nor the loading of the element and its OpenGL setup were successful. This property is only valid when the element is loading, i.e. its `IsLoaded` property is true. When the element is not loaded, the value of `LoadedSuccessfully` will be null.
To detect errors in initializing the OpenGL environment, `GLCanvasElement` exposes an `IsGLInitialized` property that shows whether or nor the loading of the element and its OpenGL setup were successful. This property is only valid when the element is loaded, i.e. its `IsLoaded` property is true. When the element is not loaded, the value of `IsGLInitialized` will be null. `GLCanvasElement` implements `INotifyPropertyChanged`, so you can use this property in a data bindings, for example to set the visibility of a control as a fallback.

## How to use Silk.NET

Expand Down

0 comments on commit 0848ec9

Please sign in to comment.