Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ramezgerges committed Aug 28, 2024
1 parent 0cb7946 commit 3300f99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/articles/controls/GLCanvasElement.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ public partial class GLCanvasElementExample : UserControl
# __SKIA__ || WINAPPSDK
public class SimpleTriangleGlCanvasElement()
#if __SKIA__
: GLCanvasElement(1200, 800, null)
: GLCanvasElement(1200, 800, null)
#elif WINAPPSDK
// getWindowFunc is usually implemented by having a static property that stores the Window object when creating it (usually in App.cs) and then fetching it in getWindowFunc
: GLCanvasElement(1200, 800, /* your getWindowFunc */)
: GLCanvasElement(1200, 800, /* your getWindowFunc */)
#endif
{
private uint _vao;
Expand Down

0 comments on commit 3300f99

Please sign in to comment.